If you're using IIS on your server, take a
look at the timeout on it. That has bit me before. Also make sure the time out
on the cf server is what you want it to be.
-Original
Message-From: Bruce Phillips
[mailto:[EMAIL PROTECTED]Sent: Tuesday, June 17, 2003 1:11
PMTo:
I'm not sure if this will help you, but
here's the way I use it.
CFAPPLICATION NAME="xl"CLIENTMANAGEMENT="Yes"SESSIONMANAGEMENT="Yes"SESSIONTIMEOUT="#CREATETIMESPAN(0,0,20, 0)#"
I also lock my variables with like
this:
cflock name="Session" type="Exclusive"
timeout="30"
Thanks for the quick reply. We are on a shared host. The
hosting company has the timeout set to 20 minutes and we cannot adjust
that. However, session variables are being lost before the 20 minute
period (sometimes very quickly 1-2 minutes).
bruce
Bruce PhillipsSociety of Teachers of
This may be completely useless
but...
I do not remember howour web
administratorresolved this, but in my last job we had this problem.
It stemmed from users that use the same proxy server in an intranet
environment. A new user would reset the session variables of any user
previously
What does your cfapplication statement look
like?
-Original
Message-From: Bruce Phillips
[mailto:[EMAIL PROTECTED]Sent: Tuesday, June 17, 2003 1:36
PMTo: [EMAIL PROTECTED]Subject: RE: [KCFusion]
Unexpected Loss of Session Variables
Thanks for the quick reply. We are on
cfapplication name="STFM-Presentation-Submission"
sessionmanagement="Yes"
Session variables are only lost by approximately 20% of users.
Remaining users experience no problem.
Thanks for the assistance.
Bruce
Bruce PhillipsSociety of Teachers of Family Medicine913-906-6000
ext
Thanks for the infor
I have some questions:
1. On each template are you loading all your session variables
into local variables here:
cflock name="Session" type="ReadOnly"
timeout="30" throwontimeout="Yes"CFPARAM
Name="session."/cflock
2. What effect does the attribute
No, I'm not loading it into a local
variable, just checking to make sure it exist. Throwontimeout produces an error
that is trapped and deliver to the browser alerting the user. If you have a lot
of activity on your web app and you do not lock your session variables it can
produce errors
Title: Message
While this is
a far off chance, see if you can get a hold of the webserver and/or CF
logs. With a shared server, you may be experiencing problems caused by
other people's code, more specifically their CF. If they do something that
causes the CF server to hang and restart, you