469,148 Members | 1,383 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,148 developers. It's quick & easy.

HELP - SESSION VARIABLES

hi,
After someone logs in to my site's main page I capture the user i.d. to a
session variable like this:

"Dim requestorID
session("requestorID") = Request("HidUserID")"

When I perform "Welcome <%=session("requestorID")%>"
it displays "Welcome userid" as it should. Whenever I go to another page in
the application and then return to the main page it displays "Welcome" only.

Why does the session variable disappear?
I have "<%Response.Buffer = True%>".


Jul 17 '05 #1
1 4871
I'm sure others would point out that you should be asking a VBScript group,
or ASP groups.

It's got nothing to do with Response.Buffer - that just buffers up all your
script output before sending the page to the client.

My web site uses Session("whatever") a few times and works fine... check
your IIS settings or consult your page host.

__________________________________________________ __________________
The Grim Reaper
There are 10 types of people in this world, those who know binary and those
who don't.

"Mark Roberts" <th*****@elvis.com> wrote in message
news:nt********************@comcast.com...
hi,
After someone logs in to my site's main page I capture the user i.d. to a
session variable like this:

"Dim requestorID
session("requestorID") = Request("HidUserID")"

When I perform "Welcome <%=session("requestorID")%>"
it displays "Welcome userid" as it should. Whenever I go to another page in the application and then return to the main page it displays "Welcome" only.
Why does the session variable disappear?
I have "<%Response.Buffer = True%>".

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dave Smithz | last post: by
2 posts views Thread by Stuart | last post: by
4 posts views Thread by Paul Rogers | last post: by
2 posts views Thread by Orgil | last post: by
8 posts views Thread by Eddie | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.