> Now for my issue. If a user leaves my site and goes somewhere 
> else, and then attempts to use his back button to come back 
> to the site, I would like to return them to the login prompt. 
> Technically, since they didn't log off and moved to another 
> url via a favorite or manually typed, when hitting the back 
> button, they have sessions still active. So they are let back 
> in. Has anyone done this before? I was thinking of checking 
> the referrer, but am unsure if I can get that to work 
> correctly when the user hits the back button. Am I on the 
> right track looking at the CGI referrer variable...

Unfortunately, you will find it very difficult to do this in a reliable way,
I suspect. I'm not sure why you'd want to do it at all - it seems like a
significant annoyance for your users.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in 
the Washington DC Area. 
http://www.houseoffusion.com/banners/view.cfm?bannerid=44

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to