472,125 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

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 4944
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.