I'm curious, will the new CFFLUSH tag resolve this problem?

Kevin

>>> [EMAIL PROTECTED] 05/30/01 08:36AM >>>
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.

M.
--- Dylan Bromby <[EMAIL PROTECTED]> wrote:
> post the code.
> 
> otherwise - and you may already know this:
> 
> remember...if you load a page with CFCOOKIE (or
> write a cookie any other
> way) then quit the browser, the cookie *is not* set.
> you need to load a
> subsequent page.
> 
> for example, consider the path:
> 
> page1.cfm ---> page2.cfm ---> page3.cfm
> 
> assume: you login on page 1. page 2 uses CFCOOKIE to
> write to the client.
> page 3 does something else.
> 
> if you don't go to page 3, the cookie won't be set
> since the CFCOOKIE code
> is in page 2. this is also why you can' access the
> cookie object from the
> same file that sets it. this isn't a limit of CF,
> it's how cookies work.
> 
> so if you quit the browser right after the file that
> contains CFCOOKIE,
> that's why it's not persisting.
> 
> -----Original Message-----
> From: Michael Lugassy [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 30, 2001 7:10 AM
> To: CF-Talk
> Subject: Re: COOKIE expiration :((
> 
> 
> yea, I was aware of that.
> and I took all of the cflocations out, but still.
> the cookie terminates after I close the browser. :((
> 
> Thanks,
> [EMAIL PROTECTED] 
> 
> ----- Original Message -----
> From: "JoshMEagle" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 30, 2001 2:23 PM
> Subject: RE: COOKIE expiration :((
> 
> 
> > I don't suppose you're using <cflocation> anywhere
> in your application? I
> > heard that <cflocation> can cause cookie problems.
> > If you are, try
>
<script>document.location.href="yourlink.cfm";</script>
> > instead.
> >
> > Just an idea.
> >
> > Joshua Miller
> > Web Development
> > Eagle Technologies Group
> > Technology Solutions for the Next Generation
> > www.eagletgi.com 
> > [EMAIL PROTECTED] 
> >
> > -----Original Message-----
> > From: Bryan LaPlante
> [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 30, 2001 3:35 AM
> > To: CF-Talk
> > Subject: Re: COOKIE expiration :((
> >
> >
> > You may already be doing this but the value should
> be EXPIRES="NEVER" not
> > timeout
> >
> > Bryan
> >
> > ----- Original Message -----
> > From: "Michael Lugassy" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 30, 2001 3:27 AM
> > Subject: COOKIE expiration :((
> >
> >
> > > I'm getting really frustrated from this CFCOOKIE
> thing.
> > > Apparently, after I assign the cookie with
> Timeout="Never" the cookie
> > > is deleted and terminated every time the user
> closes the browser.
> > > I tried to change Timeout to 14 days, but it
> didn't help.
> > > Closing the browser terminates the cookie.
> > >
> > > Is there a diffrent way to assign cookies?
> > >
> > > PLEASE HELP!!!
> > >
> > > -=Michael.
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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