Regarding the timeout value not being specifically set (within the
application.cfm) should be fine as the server to use what is defined in the
Admin section (20 mins I believe).  Again though, I don't know if this may
be part of the cause if the customer(s) with the problem were actually
'inactive' for that amount of time.  But if so, you would think that any
other session vars you have set would be 'timed out' as well.

As far as session vars overwriting themselves, you don't have to be in a
framed environment for this to happen.  I've read through way to many
threads on Allaire's site regarding session variables coming up as missing
or overwritten.  The bottom line on that one, any time you read or
write/update a session, (server or application) variable, lock it.

Possibly sharing (even pieces) of the code might help someone on CF-Talk, to
include myself, with resolving this problem.

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-----Original Message-----
From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 2:12 PM
To: CF-Talk
Subject: Re: Runtime session var error.


Timeout wasn't specifically set, set it to an hour now.

I have locks around each session var modification.
This doesn't even have any frames so it'd be surprising if session vars were
overwriting each other anyway right?

What's strange is that the error description to me was that a user tried to
submit, encountered an error (the error catcher at the time redirected them
to the login page).  

They maintain that even when they logged in again abd submitted
straightaway, they came across the error again.  This smacks of a
programmatic error but I can't reproduce the problem, I've blown away
cookies, used different browsers and logged in as different users to no
avail. 


"Semrau, Steven L Mr SRA" <[EMAIL PROTECTED]> wrote in
message
news:<[EMAIL PROTECTED]
>...
> Some quick thoughts, what is the timeout value for your session variables?
> And are these customers exceeding that amount of time when the error
occurs?
> Are you <cflock>ing your reads and writes with regards to your session
> variables?

> Steven Semrau
> SRA International, Inc.
> Senior Member, Professional Staff
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Com:  (703) 805-1095
> DSN:  (703) 655-1095
> 
> 
> -----Original Message-----
> From: Kevin Gilchrist [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11, 2001 1:12 PM
> To: CF-Talk
> Subject: Runtime session var error.
> 
> 
> Hi all,
> 
> I have a really annoying intermittent problem out on a customer's live
site
> where they submit a form and they get an error that says that a session
var
> is nonexistent.  This is a real pain because I can't reproduce the problem
> on either the customer's website or my development box.  Only some of the
> customer's users have a problem , I checked the DB and saw that a good
> number of people have submitted without problems.
> 
> I had an issue last night where session vars were lost because the CF
cookie
> wasn't written because I had done some CFLOCATION's in the login handler
> page which was also the very first of the app.  I replaced all of these
with
> JavaScript redirects and it worked fine.
> 
> This login page directs the user to a survey form which then posts to an
> action page.
> The action page is the page that reports non-existent session vars.  I
know
> that the survey form can get at the session vars because I use some as
> hidden vars.
> 
> Only one application.cfm page, and there are no cflocation tags on the
form
> page.
> I've configured an error handler to email me details for any error on the
> action page.
> I've modifed the error handler to send me a dump of all form and session
> vars the next time  an error occurs.
> 
> Any ideas?  The customer is about to have a hemorrhage.
> 
> Thanks a million Kev
> 
> See error email below.
> Error occured at: 11-Apr-01
>       
>     Location: 128.2.88.201
>     Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
>     Referer: http://www.hillgroupinc.com/surveys/vng/Survey_Form.cfm
>     Username: 
>       
>     Message: <P>An error occurred while evaluating the expression:
> <P><PRE> session.username is "vng1001" and session.password is "vng"
> </PRE></P></P>Error near line 9, column 37.<HR><P>Error resolving
parameter
> <B>SESSION.PASSWORD</B><P><P>The session variable PASSWORD does not exist.
> The cause of this error is very likely one of the following
> things:<P><OL><LI>The name of the session variable has been
> misspelled.<LI>The session variable has not yet been created.<LI>The
session
> variable has timed out.</OL><P>
>     Exception Type: EXPRESSION 
>     Specific Details on Exception Type Expression:
>     ErrNumber: 16396
>       
>      
>       
>     General Details:
>     
>       No Detail available.
> 
> Kevin Gilchrist
> Senior Consultant
> RedSiren Technologies Inc.
> (412) 281 4427 ext 466
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to