![]() |
| ||
| session level variables hi, 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 |
| ||
| Re: session level variables Hi, 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. Jedimatt |
| ||
| Re: session level variables ok... thanku so much... It really helped me now I am able to do what i was wanting to do... thnx |
| All times are GMT -4. The time now is 2:17 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC