Hi all,

My site has a mixture of search engine safe and regular urls. When trying to
login without cookies enabled I find that the CF server finds my session
only if I try a regular url but not if I use the search engine safe urls. I
assume this is because when the CF application server sees
cfid=234&cftoken=564577 it knows to find the appropriate session from the
registry or memory. However when it sees cfid/234/cftoken/564577 it just
ignores it and doesn't bother retrieving the session information attached to
the CFID/CFTOKEN combo. My question is how do I tell Cold Fusion to look for
the session info.

I've tried manually setting the following combos in my app_globals.cfm right
after CF_FormUrl2Attributes

<CFIF IsDefined("attributes.cfid") and IsDefined("attributes.cftoken")>
        <CFSET client.cfid = attributes.cfid>
        <CFSET client.cftoken = attributes.cftoken>
also:
        <CFSET session.cfid = attributes.cfid>
        <CFSET session.cftoken = attributes.cftoken>
and:
        <CFSET url.cfid = attributes.cfid>
        <CFSET url.cftoken = attributes.cftoken>
</CFIF>

What else can I do to tell Cold Fusion that these variables exist??

thanks,

edward chowdhury


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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