This is just a guess...  If you are not using cookies to retain the CFTOKEN
and CFID, you'll need to pass them in the url.  If you don't have cookies
on, and you aren't retaining the variables in the URL, CF Server will not be
able to tell who is connecting, and may issue a new CFTOKEN and CFID each
time you make a page request - which means that the Session variables that
you set for the client (referenced by the CFTOKEN and CFID) now appear to be
gone because the CFTOKEN and CFID are different.  Just a guess.  Have you
tried outputting the CFTOKEN and CFID at the bottom of the application.cfm
to see if they are changing?  If they are, just make sure that you retain
them.  If you are using cookies, it's easiest to just put this in the
application.cfm:

<cfapplication name="MyApp" clientmanagement="Yes" setclientcookies="Yes">
<cfcookie name="CFID" value="#CFID#">
<cfcookie name="CFTOKEN" value="#CFTOKEN#">

Hope that helps,
Byron

-----Original Message-----
From: Won Lee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 1:24 PM
To: CF-Talk
Subject: disappearing session variables.


Anyone know why a session variable would be reset.
I set it on one page.  
<cfoutput> it on the bottom.
i go to a page i built to test the variables.  All it does it just print it
out.
But the variable is reset to an empty string.

I do declare it as an empty string in the Application.cfm.  but i have a
flag to only reset the variable when the application is loaded the first
time.

Debug says only 4 processes are running

test.cfm
application.cfm
../application.cfm from the root above that i include 
and startup, parsing, and shutdown
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to