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