|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Session Variables between directories
Hi,
I have a template that uses a session variable, in the template I have a link that to a template in another directory on our site. I want the session variable to work in the 2nd template but when I click the link, I get the undefined in SESSION error, in other words the session variable seems to not work anymore. Suggestions? ![]() |
|
#2
|
|||
|
|||
|
Both directories must be within the same application in order for it to see the session variables. The other directory must have a <cfapplication> tag running during the request with the same application name as the first directory. <cfapplication> is often defined in the Application.cfm file so you might want to check there first.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Quote:
Hi Kiteless, I did not know that , although it makes easy sense though, thanks for your reply ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Session Variables between directories |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|