Thanks, but that's not my problem.
The cookie is set up ok. I use javascript's location.href method to reffer
the page
the cookie exists, I can see it and use it all over the site.
the problem is that it's TERMINATING after a user closes the browser,
although I
specificed: Expires=Never
It's been over a week since I'm stuck in this!!! please help.
Thanks,
Michael Lugassy
----- Original Message -----
From: "Dan G. Switzer, II" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 2:53 PM
Subject: RE: COOKIE expiration :((
> You can download my custom tag <CF_LOCATION> from:
> http://www.pengoworks.com/index.cfm?action=CustomTags
>
> The code is pretty simply and does allow you to use <CFCOOKIE> and do a
> server relocation on the same page. Using the <CFHEADER> tag, you're able
to
> successfully relocate the user using the code:
>
> <CFHEADER STATUSCODE="302" STATUSTEXT="Object Temporarily Moved">
> <CFHEADER NAME="Location" VALUE="#strURL#">
>
> Why CF doesn't use the same code with internally, I don't know.
>
> -Dan
>
> > -----Original Message-----
> > From: Dave Watts [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 04, 2001 12:41 AM
> > To: CF-Talk
> > Subject: RE: COOKIE expiration :((
> >
> >
> > > > You can consider setting up the cookie in a process
> > > > page and redirect with javascript instead of
> > > > cflocation that will allow the cookie to be set.
> > >
> > > I'm curious, will the new CFFLUSH tag resolve this problem?
> >
> > No, I don't think so. All CFFLUSH does is signal that part of the HTTP
> > response body can be returned, before the rest has been generated. The
> > problem with CFCOOKIE and CFLOCATION is simply that CF doesn't
> > allow the use
> > of both tags, which affect the HTTP response header, in a single script.
> >
> > As has been discussed on this list occasionally in the past, there's no
> > inherent limitation in the HTTP RFC about using headers to
simultaneously
> > set a cookie and specify a new location - CF just doesn't let you do
this,
> > if I recall correctly.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > voice: (202) 797-5496
> > fax: (202) 797-5444
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists