It appears that you are spitting out the variable before you change it to
blue.

- Bill -
----- Original Message -----
From: "Alex" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 7:47 AM
Subject: Re: [Session Variables - I don't get it]


> because you are setting it to black on the application.cfm page.
> change the application.cfm  cfset to cfparam
>
> "Kronenberger, Douglas" <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> I'm not getting how to implement session variables. I'm just trying to set
> the session variable "Session.Dog" from black to Blue and have it show up
as
> Blue on the test.cfm. It keep show'n up black. I do have Session Variables
> enabled via the CF Administrator page.
>
> What am I miss'n here.
>
> <!--- Application.CFM --->
>
> <cfapplication name="TEST" sessionmanagement="Yes" setclientcookies="no">
>
> <cflock scope="session" timeout="2">
> <cfset  Session.Dog = "Black">
> </cflock>
>
>
> <!--- Test.CFM  --->
> <html>
>
> <body>
> <cflock scope="session" timeout="2">
> <cfoutput> #Session.Dog# </cfoutput>
> <cfset  #Session.Dog# = "Blue"><br>
> </cflock>
>
>
> <cflock scope="session" type="readonly" timeout="2">
> <a href="test2.cfm?<cfoutput>#Session.URLTOKEN#</cfoutput>" > Goto</a><br>
> </cflock>
>
> </body>
> </html>
>
> <!--- Test2.CFM  --->
> <html>
>
> <body>
> <cflock scope="session" timeout="2">
> <cfoutput> #Session.Dog# </cfoutput>
> </cflock>
> <br>
>
> </body>
> </html>
> -----------------------------------------------------------------
>
>
> Can someone get me started here.
>
> Thanks
>
> > Doug Kronenberger
> > OI National Training and Education Office
> > 440-526-3030 x7776
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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