Question:

I am using client variables to login users and keep their information while roaming 
the site.  The problem is I just went into the site and it had me logged as another 
user of the site... Below is the code I am using to login in a user....  I haven't 
used the client variables alot so if you see something I am doing wrong, please 
enlighten.  

<!--- Login the user --->
<cfset member = StructNew()>
<cfset member.firstName = memberCheck.firstName>
<cfset member.lastName = memberCheck.lastName>
<cfset member.memberID = memberCheck.memberID>
<cfset member.userName = memberCheck.userName>
<cfwddx action="cfml2wddx" input="#member#" output="client.member">



<!--- Top of email MEMBER page to see if they are member or not --->

<cfif IsDefined("client.member")>
 <cfwddx action="wddx2cfml" input="#client.member#" output="member">
    <CFSET IsDeleteSuccessful = DeleteClientVariable("location")>
<cfelse>
    <cflocation url="member.cfm?mode=login" addtoken="Yes">
</cfif>

When I opened my browser and went to the site, It thought i was a different user ... 
how could something like this have happened??

Any help or if you all need more information, please let me konw.

(Win2K, CF5 - Single Machine)

Thank you
Paul Giesenhagen
QuillDesign

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to