I have an application that uses sessions and cookies to log people in.
Simple enough. 

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...

Thanks.
Jeff


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182166
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