Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

cflogin automatic log out when the client closes the browser

ColdFusion cflogin : How to create automatic log out when the client closes the browser.
0
mugsinc
Asked:
mugsinc
  • 4
  • 3
1 Solution
 
DonConsolioCommented:
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.
0
 
Phani Kiran ChikkalaCommented:
use cflogout in the relevant file and configure loginstorage="session" in the Application.cfc
0
 
mugsincAuthor Commented:
i used loginstorage="session" on the application page but when i close the browser and open again it shows as still logged in.
0
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 
DonConsolioCommented:
did you clear all old cookies before testing?
0
 
mugsincAuthor Commented:
yes i clear all cookies but it working only for the login page when i go to another page it will automatically logout
0
 
DonConsolioCommented:
page cached in your browser?
0
 
mugsincAuthor Commented:
clear the browser cached  and tested its working only for single page
0
 
mugsincAuthor Commented:
it works after i clear the cache and cookies on the browser
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now