johnson1
asked on
Check if Session has expired
How can I check if Session has expired?
Something like this (it is not working - I get Input string was not in correct format).
if (Session["UserId"]!=null)
{
}
Something like this (it is not working - I get Input string was not in correct format).
if (Session["UserId"]!=null)
{
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.