If you aren't passing the session id's in every single URL, you will get a new session.
Consider enabling the setclientcookies attribute. On 11/18/06, Mullai Subbiah <[EMAIL PROTECTED]> wrote: > I am using CFMX7. I am getting Session Timeouts when running the application. > > I have set the application and session timeout defaults to be 10 hour and > maximum - 2 days (CF Admin). Within my application.cfm I have set them to be > 9 hours (<cfapplication>). I have enabled SessionManagement and disabled > clientcookies. I still dont understand why I am getting session timeouts. > Sometimes it happens quite quite often. Sometimes it times out after a long > period of time but still well before the 9 hour limit. When I tested it with > like 5 minutes it times out 5 minutes later. > > I hope somebody had experienced some thing like this and could some shed > light on this issue. > > This is my application.cfm code. > > <CFAPPLICATION NAME="MyApplication" SESSIONMANAGEMENT="Yes" > SESSIONTIMEOUT="#CreateTimeSpan(0,9,0,0)#" > APPLICATIONTIMEOUT="#CreateTimeSpan(0,9,0,0)#" SETCLIENTCOOKIES="NO" > loginStorage="session"> > <CFPARAM NAME="session.LoggedIn" DEFAULT="FALSE"> > > <!--- user login ---> > <CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="25"> > <CFIF (#SESSION.LOGGEDIN# IS "FALSE")> > <!--- ... login pages ---> > <CFIF (CGI.SCRIPT_NAME IS NOT "#base_path#/admin/index.cfm") AND > (CGI.SCRIPT_NAME IS NOT "#base_path#/admin/main/index.cfm") AND > (CGI.SCRIPT_NAME IS NOT "#base_path#/admin/main/results.cfm") AND > (CGI.SCRIPT_NAME IS NOT "#base_path#/admin/main/forgotpass.cfm") AND > (CGI.SCRIPT_NAME IS NOT "#base_path#/admin/main/logout.cfm")> > <cfoutput> > <SCRIPT LANGUAGE="JavaScript"> > self.location.href='#base_path#/admin/main/index.cfm'; > </SCRIPT> > </cfoutput> > </CFIF> > </CFIF> > </CFLOCK> > > Thanks. > > Mullai > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260973 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

