I have this code on a login form:
<CFIF NOT IsDefined("SESSION.MEMBERSESS")>
        <cfoutput>CAT</cfoutput>
<cfelse>
        <cfoutput>DOG</cfoutput>
</CFIF>

the login form submits to a processing page with this code:
        <cfif user.recordcount EQ 1>
                <cflocation 
url="loginform.cfm?pgid=#arguments.pgid#&err=0&uid=#user.fname#">
                <CFIF NOT IsDefined("SESSION.MEMBERSESS")>
                        <CFSET "SESSION.MEMBERSESS" = StructNew()>
                </CFIF>

So, I submit a valid login/pass and get a URL like this back to the login form 
page:
http://localhost:8500/importmodels/loginform.cfm?pgid=1&err=0&uid=xxxx&CFID=1202&CFTOKEN=23644185

But (see first snippet) I get "CAT" on the login form page, as if the session 
is not defined, but I'm getting a CFID/TOKEN.

Can anybody shed some light as to why?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:557
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to