Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     &IBIC_user variable
Go
New
Search
Notify
Tools
Reply
  
&IBIC_user variable
 Login/Join
 
Platinum Member
posted
I have an HTML page that captures a user entered password in the variable &IBIC_user. This works fine however if the user refreshes their browser session and types in another password the &IBIC_user variable is keeping the first password. Is there a way for the HTML page to clear out the old password. My browser is IE 6.0.2800.1106, WF v5.33, Windows 2000 server.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Master
posted Hide Post
try add this code with in your HEAD tag.

META http-equiv=Pragma contane=no-cache
META http-equiv=Cache-Control content=no-cache
META http-equiv=Expires content=0
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
slight typo on the first line:

<META http-equiv="Pragma" content="no-cache">
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
I added this code and still only picking up the first password that was entered.

META http-equiv=Pragma content=no-cache
META http-equiv=Cache-Control content=no=cache
META http-equiv=Expires content=0
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
What does the HTML page do?

IBIC_user should be the user id.

IBIC_pass should be the password.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
The HTML page captures the value entered into &IBIC_user. I referred to the value as a password it can be called a user id. The value entered in &IBIC_user is compared to values stored in a database via a fex to determine what the user is allowed to run.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Master
posted Hide Post
try change the cgivars.wfs - c:/ibi/apps/srv/wfs

WF_COOKIE_EXPIRATION = 0
EXPIRE_REPORTS=300
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
that is what cgivars.wfs has
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
Have you tried adding an onSubmit or onClick action to see what's actually in the form object?

onClick="alert(document.forms[0].IBIC_user.value);"
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Master
posted Hide Post
What I would do is someting like this.
Create a Session Variable & instead of
calling it IBIC_user let scall
the variable something like UID.
With that said I would then
edit my site.wfs file and create a session variable like this
#Check to see if the 
variable exist that is coming in 
from a html page some where.
# Store the variable in a session 
any name will do but lets call it _SessionVar_UID
httpsession=_SessionVar_UID
 <call> CopyWFVarToSessionVar(
UID,httpsession)
<endif><br />#
# lets retrieve the variable out f
rom the session<br />wfvar=UID<br />httpsession=_SessionVar_UID
<call> CopySessionVarToWFVar
(httpsession,wfvar)
# Finally Let pass the variable bact to the WebFOCUS Reporting Server where 
it can use it.<SET>UID(pass)
# If you realy need to call 
it IBIC_user you could add this lineIBIC_user=&UID
And if you want pass it bact to the 
reporting server<br /><SET>IBIC_user(pass)

Hope this Helps

This message has been edited. Last edited by: <Mabel>,
 
Posts: 865 | Registered: May 24, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
TexasStingray,

the same thing is happening with the variable uid. if i do a refresh of the browser and enter a new value the first value entered in uid is what is displaying. some how the first value entered in uid is being cached and when a new value is entered in uid it is not overlaying the previous value.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteReport This Post
Member
posted Hide Post
Spence,

When you say "refresh browser session" do you mean closing down your browser and opening it up again, or just using the same browser window and loggin in a second time? I ask because if you do not completely close down your browser, it might continue to maintain the cookie from you initial login session.

You could force a cookie cleanup by calling the WF_SIGNOFF (might want to check up on the exact param name to use) action. This would prevent unwanted session persistence.
 
Posts: 9 | Location: Boston | Registered: April 25, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     &amp;IBIC_user variable

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.