> I do not use cookies, I use url based session 
> management, how do I tackle browser close 
> session ending? currently if they go to the history > and select the link 
> back, I am still logged in. 
>
> Is there a way to detect browser close, like in 
> javascript can I do some sort of java: finally {} > which will 
> structClear(session) or so???

There's no reliable way to guarantee this behavior without using cookies. In 
the absence of cookies, your best bet is to have a very short session timeout.

If you're willing to rely on JavaScript, you can use the onunload event when 
the user navigates to another page. I don't think there's an event that occurs 
when the browser closes.

Dave Watts, CTO, Fig Leaf Software 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287349
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to