By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

HELP - SESSION VARIABLES

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.