Found the problem.  One of our developers added some code that refered to
the Cookie before the cookie was initialized with a <cfparam> tag.  CF
should have thrown an error, but instead just hung trying to load the page.
Moved our <cfparam> block before the first call, and our problem went away.


That was a frustrating hour or so finding that...

Shawn Grover

-----Original Message-----
From: Costas Piliotis [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 3:04 PM
To: CF-Talk
Subject: RE: Netscape Cookie Woes


As far as I understandm session state is maintained through a cookie.  CFID
and CFTOKEN are stored as cookie values.  The session state is destroyed
when you destroy the cookies file.  A new session is thus started and all of
your session variables are lost.


-----Original Message-----
From: Shawn Grover [mailto:[EMAIL PROTECTED]] 
Sent: Monday, August 27, 2001 1:30 PM
To: CF-Talk
Subject: Netscape Cookie Woes


we have an application which uses a custom tag at the start of each
template.  This tag checks session variables against the required access
level for the page and if need be, redirects to the login page.

We are finding that Netscape refuses to run this tag (it hangs trying to
load the page) if we delete the cookies file.  

That's really weird because the tag doesn't refer to the cookies.  The Login
page does use a cookie for populating the username text box, but that's it.
Otherwise, we don't use cookies. (except system session cookies).  I know we
aren't even making it to the login page because of troubleshooting
code/output I've inserted into the routines.

Anyone see this before? or have an idea how to fix it?  Thanks.

Shawn Grover
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to