I am new to Cold fusion...
I have defined a session level variable in one page1.cfm as follows
<cfset session.testing = "test">
and when I am trying to access it on another page page2.cfm (browser window is not closed meanwhile) it gives an error that "testing" is undefined at page2.cfm. Can someone plz explain why is that so... n help me how can i do this... as i need to access testing on page2.cfm...

thnx in advance


To enable session variables on your pages you need to define the following at the top of each page:

<cfapplication name="Your application Name" 

You should then be able to access your session variables that you define.


ok... thanku so much... It really helped me
now I am able to do what i was wanting to do...