Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cfdunce #1
Re: How to create a session time out when the user logsout.
Try this code in your Application.cfm template:
<CFAPPLICATION NAME="whateverYouWant"
SESSIONMANAGEMENT="YES"
LOGINSTORAGE="session"
SETCLIENTCOOKIES="yes"
SESSIONTIMEOUT="#CreateTimeSpan(0, 0, 20, 0)#">
<cfheader name="Expires" value="#Now()#">
<cfheader name="Pragma" value="no-cache">
<cfheader name="Cache-Control" value="no-cache,no-store,must-revalidate">
cfdunce Guest
-
#16263 [Com]: session.start() create new empty session file and not resume existing session
ID: 16263 Comment by: pat at burnttech dot com Reported By: kur at natur dot cuni dot cz Status: No Feedback... -
How to time out session when user closes the browser
I am using Application.cfm for user login and setting up the session. I did not change the default timeout for session. When a logged in user... -
Session one more time
Hi, I have a login page (without frames). After the user login s/he lands on the site with 2 frames. Their names are top and bottom. I post the... -
session time
To: All I have some question how can do it when the session timeout after that will propmt the message and redirect to login page for login... -
Session time-out
Thanks George, Kevin. I think I need to clarify. I wasn't expecting the browser to be smart enough to know when a session did terminate, neither...



Reply With Quote

