Try removing the quotes around...
<CFSET "SESSION.MEMBERSESS" = StructNew()>
those shouldnt be nessecary
On Fri, 21 Jan 2005 09:33:38 -0400, Derick B <[EMAIL PROTECTED]> wrote:
> 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?
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get Instant Hacker Protection, Virus Detection, Antispam & Personal Firewall.
http://www.houseoffusion.com/banners/view.cfm?bannerid=62
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:558
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