Thanks, Jay!

Rick

-----Original Message-----
From: Jay Pandya [mailto:jaypandy...@gmail.com] 
Sent: Tuesday, February 28, 2012 12:49 AM
To: cf-talk
Subject: Re: Session variables not working


Hi Rick,
        When you are using session variables and you want to get its value
in other page after using cflocation then you need to enable seclientcookies
true in cfapplication tag. More description you can read on 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b_5
.html
read Setclientcokies description.

Thank You
Jay Pandya
>It's been awhile since I used session variables,
>but this is simple.  Why won't this work?
>
>session-test.cfm
>----------------
>
><cfset session.name = 'rick'>
>
><cfoutput>#session.name#</cfoutput>
>
><cflocation url="session-test-2.cfm">
>
>
>session-test-2.cfm
>------------------
>
><cfoutput>#session.name#</cfoutput>
>
>
>I get the error 'Element NAME is undefined in SESSION.'
>
>???
>
>Session variables are specified for use in CFADMIN.
>Am I missing something REALLY simple or obvious?
>
>Rick 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350127
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to