|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi I'm pretty new to Cold fusion and had a couple of quesions on the session variable
This is what I have to set up a session variable: <Cfset Session.test = StructNew()> <Cfset Session.test.Username = Getuser.Username> When I go to another one of my .cfm pages if have the following: <Cfoutput> #Session.test.Username# </Cfoutput> For something as simple as this I can't get it to work. The error says, "Session Variable undefined" I'm pretty sure I set session management to yes on the administrator. Please help Thank you Jeff |
|
#2
|
|||
|
|||
|
have you got the application tag set up in the application.cfm file? If you don't have an application.cfm, and you haven't got a <cfapplication> tag, then session management wont work. Have a look through the cf-docs for more information about this.
HTM Tomo |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Cold Fusion Development > Session Variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|