Reply
Session variable problem
Old 01-04-2007, 03:39 AM Session variable problem
technoguy's Avatar
Extreme Talker

Posts: 151
I want code to check whether session variable is set or not?

anyone can help me?
technoguy is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-04-2007, 06:01 PM Re: Session variable problem
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Quote:
Originally Posted by technoguy View Post
I want code to check whether session variable is set or not?
Try something like:

if(Session["someVariable"] != null)
doSomething();

Or in VB it would be

If Session("someVariable") Is Not Nothing Then
...
End If
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Session variable problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10905 seconds with 13 queries