For some odd reason I can't set a session level variable from the Session_Onstart Routine in the global.asa. I can set Application level variable fine however, so i know the routine is working. When i try to set a session variable and then retrieve it i get "undefined". Here is my code (btw i'm using JScript):
function Session_OnStart ( )
{
Session('FirstName') == 'John'
}
And this is how i'm tying to retrieve it:
Response.write (Session('FirstName'))
I have no clue why this isn't working, but I guess that's why people always tell me not to using session variables. i hate when they're right.
-Frank
function Session_OnStart ( )
{
Session('FirstName') == 'John'
}
And this is how i'm tying to retrieve it:
Response.write (Session('FirstName'))
I have no clue why this isn't working, but I guess that's why people always tell me not to using session variables. i hate when they're right.
-Frank