Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
ASP Forum
>
.NET Programming Forum
>
Session variable problem
Link Back
Thread Tools
Session variable problem
01-04-2007, 03:39 AM
#
1
(
permalink
)
Session variable problem
technoguy
Extreme Talker
Posts: 151
Talkupation:
I want code to check whether session variable is set or not?
anyone can help me?
When You
Register
, These Ads Go Away!
01-04-2007, 06:01 PM
#
2
(
permalink
)
Re: Session variable problem
ForrestCroce
Half Man, Half Amazing
Latest Blog Post:
4th of July Fireworks on Lake Union
Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Talkupation:
Quote:
Originally Posted by
technoguy
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
« Reply to
Session variable problem
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Coding Talk
>
ASP Forum
>
.NET Programming Forum
>
Session variable problem
Thread Tools
Show Printable Version
Email this Page
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
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
Web Templates
|
Text Link Brokers
|
Stock Photos
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
0.10905
seconds with
13
queries