Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Variable Declaration
Message
De
21/03/2005 10:05:24
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Detect Variable Declaration
Divers
Thread ID:
00997818
Message ID:
00997818
Vues:
38
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform