Thanks for the complement!

The issue I was having may have been fixed.  But what I was noticing was I
would run my page, login and everything was happy.  While working on
something else I would leave the page alone for 20-25 minutes.  Come back
and refresh the page, or go to the next page and the system would error
saying that SESSION.nUserID was undefined.  Yet if you looked at the debug
window the system still had the logon authentication cookie set so it would
not run the <cflogon> tag.  That is why I added the cflogout code at the
beginning of the page.
______________________________________________________ 

Bill Grover     
Supervisor MIS                  Phone:  301.424.3300 x3324      
EU Services, Inc.               FAX:    301.424.3696    
649 North Horners Lane          E-Mail: [EMAIL PROTECTED]
Rockville, MD 20850-1299        WWW:    http://www.euservices.com
______________________________________________________ 



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 8:43 AM
> To: CF-Talk
> Subject: RE: stupid newbie tricks
> 
> 
> Quoting Bill Grover <[EMAIL PROTECTED]>:
> > 
> > <!--- Needed for when the session times out but CFMX thinks 
> the login still
> > active --->
> > <cfif NOT IsDefined("SESSION.nUserID")>     
> >     <cflogout>
> > </cfif>
> > 
> > <cflogin>
> <snipage>
> 
> There used to be an issue with cflogin and cflogout where you 
> needed to put the
> cflogout after the cflogin or users would get mixed up when 
> they logged out and
> back in again (I think). Not sure if it is resolved yet?
> 
> Jochem
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to