It is more than possible that the update is knocking out the value. Try
re-setting it
AFTER the update.
Carol L. Bluestein
Senior Programmer
NYS Office of Real Property
518-486-6335
[EMAIL PROTECTED]
____________________Reply Separator____________________
Subject: Re: Re:Runtime session var error.
Author: [EMAIL PROTECTED]
Date: 4/11/01 2:14 PM
I've added a cfparam to deal with that in Application.cfm but I'm still
going to encounter the problem when I do an update query further down the
page which uses the password field.
I still want to try and figure out why it seems to have disappeared....
"Carol Bluestein" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> It would seem to me, that if the program is not finding session.password,
that
> you might use cfparam to set it (so it will always be there) and check
your code
> for a structClear(session) or structDelete command -- you may have
inadvertantly
> cleared the session.password variable.
>
> Carol L. Bluestein
> Senior Programmer
> NYS Office of Real Property
> 518-486-6335
> [EMAIL PROTECTED]
>
>
> ____________________Reply Separator____________________
> Subject: Runtime session var error.
> Author: [EMAIL PROTECTED]
> Date: 4/11/01 1:11 PM
>
> 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