CFID & CFTOKEN Unexplicably incrementing

2002-05-06 Thread Jas Panesar

Hi Guys,

I am having a problem with one of my session applications.

Basically, I am cutting out the cookie that is planted by 
cfapplication, in lieu of the IE6 Third-Party cookie denial by default. 
(My code is generating a part of a website for another domain.)

MY APPLICATION.CFM does the following:

 

 


 

SO, at this point, the CFID and CFTOKEN should be stored in 
session.autotoken and session.XXautotoken respectively, correct? 
(I am referencing 
http://www.cfhub.com/adavanced/managing_state/cookies.cfm)

Now, when the application goes into the main menu after logging in to 
the system and creating the session, I have it generate a link with the 
#XXAutoToken# embedded.

When I go to browse it on the browser, do a View Source, it shows the 
CFID as being incremented by 1 (+1).  Meaning, if my CFID in my Address 
bar in my browser is 28303, the one embedded in the page it self is 
28304.  Also, obviously, it changes the CFTOKEN.

To me, it seems to be regenerating the CFID / CFTOKEN somehow.  I am 
sure someone has seen this already, thoughts / comments would be 
appreciated.

Thanks in Advance,
Jas


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



RE: CFID & CFTOKEN Unexplicably incrementing

2002-05-06 Thread Andy Ousterhout

I am not sure what you are referring to with XXautotoken.  I just use
session.URLToken which works perfectly(which I copy to variable.URLToken in
the application.cfm):



Andy

-Original Message-
From: Jas Panesar [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 8:04 PM
To: CF-Talk
Subject: CFID & CFTOKEN Unexplicably incrementing


Hi Guys,

I am having a problem with one of my session applications.

Basically, I am cutting out the cookie that is planted by
cfapplication, in lieu of the IE6 Third-Party cookie denial by default.
(My code is generating a part of a website for another domain.)

MY APPLICATION.CFM does the following:








SO, at this point, the CFID and CFTOKEN should be stored in
session.autotoken and session.XXautotoken respectively, correct?
(I am referencing
http://www.cfhub.com/adavanced/managing_state/cookies.cfm)

Now, when the application goes into the main menu after logging in to
the system and creating the session, I have it generate a link with the
#XXAutoToken# embedded.

When I go to browse it on the browser, do a View Source, it shows the
CFID as being incremented by 1 (+1).  Meaning, if my CFID in my Address
bar in my browser is 28303, the one embedded in the page it self is
28304.  Also, obviously, it changes the CFTOKEN.

To me, it seems to be regenerating the CFID / CFTOKEN somehow.  I am
sure someone has seen this already, thoughts / comments would be
appreciated.

Thanks in Advance,
Jas


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

__
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



Re: CFID & CFTOKEN Unexplicably incrementing

2002-05-06 Thread Joseph Thompson

That login script... is it using a CFLOCATION?  Does that CFLOCATION include
an AddToken="Yes" attribute?

That script was originally designed to work in conjunction with cookies... I
didn't actually see the
IsDefined("Cookie.CFTOKEN")
bit in your post... although the rest looks familiar :-)

>Now, when the application goes into the main menu after logging in to
the system and creating the session, I have it generate a link with the
#XXAutoToken# embedded.

> SO, at this point, the CFID and CFTOKEN should be stored in
> session.autotoken and session.XXautotoken respectively, correct?
> (I am referencing
> http://www.cfhub.com/adavanced/managing_state/cookies.cfm)
>


__
Get the mailserver that powers this list at http://www.coolfusion.com
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