G
Guest
Hi All
I'm adding some variables on Session on start mothod as given belo
protected void Session_Start(Object sender, EventArgs e
Session.Add("UserID",string.Empty)
Session.Add("isAdmin",false)
Session.Add("isLoggedIn",false)
on a Webform I'm try to access the variables as given below
if(Convert.ToBoolean(Session.Contents["isLoggedIn"])
Response.Redirect("WebForm5.aspx")
No even though I remove the above code it prompts the error lik
The server tag is not well forme
it aslo shows the message that unicode characters in this file will not be saved
Am I doing any mistakes in accessing the session variable on webform
thanks in advanc
Da
I'm adding some variables on Session on start mothod as given belo
protected void Session_Start(Object sender, EventArgs e
Session.Add("UserID",string.Empty)
Session.Add("isAdmin",false)
Session.Add("isLoggedIn",false)
on a Webform I'm try to access the variables as given below
if(Convert.ToBoolean(Session.Contents["isLoggedIn"])
Response.Redirect("WebForm5.aspx")
No even though I remove the above code it prompts the error lik
The server tag is not well forme
it aslo shows the message that unicode characters in this file will not be saved
Am I doing any mistakes in accessing the session variable on webform
thanks in advanc
Da