?
Solved

cflogin automatic log out when the client closes the browser

Posted on 2010-11-09
8
Medium Priority
?
502 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 15

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 250 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
Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

 
LVL 15

Expert Comment

by:DonConsolio
ID: 34110202
did you clear all old cookies before testing?
0
 
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 15

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

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

752 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