Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



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

Posts: 151
Trades: 2
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
 
 
Register now for full access!
Old 01-04-2007, 07:01 PM Re: Session variable problem
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.74902 seconds with 12 queries