Solved

cflogin automatic log out when the client closes the browser

Posted on 2010-11-09
8
490 Views
Last Modified: 2013-04-04
ColdFusion cflogin : How to create automatic log out when the client closes the browser.
0
Comment
Question by:mugsinc
  • 4
  • 3
8 Comments
 
LVL 14

Expert Comment

by:DonConsolio
ID: 34099723
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
 

Accepted Solution

by:
Phani Kiran Chikkala earned 125 total points
ID: 34099812
use cflogout in the relevant file and configure loginstorage="session" in the Application.cfc
0
 
LVL 1

Author Comment

by:mugsinc
ID: 34109076
i used loginstorage="session" on the application page but when i close the browser and open again it shows as still logged in.
0
 
LVL 14

Expert Comment

by:DonConsolio
ID: 34110202
did you clear all old cookies before testing?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Author Comment

by:mugsinc
ID: 34133442
yes i clear all cookies but it working only for the login page when i go to another page it will automatically logout
0
 
LVL 14

Expert Comment

by:DonConsolio
ID: 34134781
page cached in your browser?
0
 
LVL 1

Author Comment

by:mugsinc
ID: 34134871
clear the browser cached  and tested its working only for single page
0
 
LVL 1

Author Closing Comment

by:mugsinc
ID: 39046879
it works after i clear the cache and cookies on the browser
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now