Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Variable Declaration
Message
From
21/03/2005 10:05:24
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Detect Variable Declaration
Miscellaneous
Thread ID:
00997818
Message ID:
00997818
Views:
39
I've got a question. I tried to do a statement similar to the one below:

if(Session["variablename"] == true)
{//run code because variable was declared}
else
{}

however I am keep getting an internal server 500 code.

Is there a way to check to see if a variable was declared like:

Exist(Session["variablename"]) return boolean
IsNull(Session["variablename"]) return boolean
Next
Reply
Map
View

Click here to load this message in the networking platform