Its the CFAPPLICATION tag that looks for the cfid and cftoken in the URL,
but if you're using the search/engine/friendly ones, they won't be
recognised as URL variables.
But, if you make sure you call formURL2attributes _before_ CFAPPLICATION
then you can scope any attributes.cfif and cftoken to the URL scope, and
bob's your uncle:

<CF_FormURL2Attributes>

<CFIF IsDefined('attributes.cfid')>
    <CFSET URL.cfid = attributes.cfid>
</CFIF>

<CFIF IsDefined('attributes.cftoken')>
    <CFSET URL.cftoken = attributes.cftoken>
</CFIF>

<CFAPPLICATION 
        NAME="MyApp" 
        APPLICATIONTIMEOUT="#CreateTimeSpan(1,0,0,0)#" 
        SESSIONTIMEOUT="#CreateTimeSpan(0,1,0,0)#"
        SESSIONMANAGEMENT="YES" 
        SETCLIENTCOOKIES="no">

Doing this will also allow you to send the cfif and cftoken in hidden form
fields...

Bert


> -----Original Message-----
> From: Taras Vasylkevych [mailto:[EMAIL PROTECTED]]
> Sent: 05 March 2001 11:46
> To: Fusebox
> Subject: problems with maintaining client state without cookies
> 
> 
> Just found strange behaviour of CF when I tried to maintain 
> client state without cookies passing cfid and cftoken using 
> following syntax
> 
>  /index.cfm/cfid/4234/cftoken/14106657
> 
> CF generate new cfid and cftoken for every request.
> However using standard url syntax
> 
> index.cfm?cfid=4400&cftoken=40428477
> 
>  everything works just fine. Did anybody have something 
> similar? Any suggestion how to get rid of it?
> 
> Taras Vasylkevych
> 
> Mit freundlichen Gr��en
> 
> Taras Vasylkevych
> team in medias GmbH 
> Aachen, Berlin, K�ln   
> 0241-409 09 09 
> http://www.inmedias.de 
> http://ecommerce.inmedias.de 
> http://beratung.inmedias.de 
> http://weiterbildung.inmedias.de
>  
> ***************************
> Unsere aktuellen Projekte 
>  
> mit Kurzerl�uterung: 
> http://www.inmedias.de/referenz 
>  
> oder direkt: 
> http://www.aachenerundmuenchener.de
> http://www.aok-verlag.de  
> http://www.elsa.de
> http://www.strabag.de
> ****************************
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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