We help IT Professionals succeed at work.

cflogin automatic log out when the client closes the browser

mugsinc
mugsinc asked
on
520 Views
Last Modified: 2013-04-04
ColdFusion cflogin : How to create automatic log out when the client closes the browser.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Use a session cookie:

http://www.petefreitag.com/item/735.cfm

>If you use the cflogin tag to manage authentication you should consider
>setting loginstorage="session" in your Application.cfc or Application.cfm
>file for better security.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
i used loginstorage="session" on the application page but when i close the browser and open again it shows as still logged in.
CERTIFIED EXPERT

Commented:
did you clear all old cookies before testing?

Author

Commented:
yes i clear all cookies but it working only for the login page when i go to another page it will automatically logout
CERTIFIED EXPERT

Commented:
page cached in your browser?

Author

Commented:
clear the browser cached  and tested its working only for single page

Author

Commented:
it works after i clear the cache and cookies on the browser
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.