Hello all,
I'm trying to do the followingIn the Page_Load event of my web app, I have created some session variables that store string values for user.
I need to access these values (both get and set) from a user control using Javascript. Thus the options I am considering are:
1. Write properties in the code behind the user control that would progammatically set these and then access those properties from the JavaScript code .
2. Access the session variables directly from the script code in the page without using code-behind.
I know not where to begin with either - other then the code behind stuff. I could not find an object in java to access the session variable either.
any help would be greatly appreciated.
thanx in advance.
inzo
I'm trying to do the followingIn the Page_Load event of my web app, I have created some session variables that store string values for user.
I need to access these values (both get and set) from a user control using Javascript. Thus the options I am considering are:
1. Write properties in the code behind the user control that would progammatically set these and then access those properties from the JavaScript code .
2. Access the session variables directly from the script code in the page without using code-behind.
I know not where to begin with either - other then the code behind stuff. I could not find an object in java to access the session variable either.
any help would be greatly appreciated.
thanx in advance.
inzo