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

Losing Session Variables?

P: n/a
Do any of you guys have any idea what might be the reason for losing session
variables, i was working on a page where i had to stroe a array in a
session(trust me that was the only 'way' i could imagine doing it), and i am
losing the session variable, its just returning empty values...does any one
has any ideas?
Jul 19 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Session timeout?

Are you setting them in site/dir1 and then they don't exist in site/dir2,
yet if you go back to site/dir1, they are there again? If so, remove the
application from dir2 in IIS manager for your site.

Ray at work

"vivek" <vi********@yahoo.com> wrote in message
news:OG**************@tk2msftngp13.phx.gbl...
Do any of you guys have any idea what might be the reason for losing session variables, i was working on a page where i had to stroe a array in a
session(trust me that was the only 'way' i could imagine doing it), and i am losing the session variable, its just returning empty values...does any one has any ideas?

Jul 19 '05 #2

P: n/a
vivek wrote:
Do any of you guys have any idea what might be the reason for losing
session variables, i was working on a page where i had to stroe a
array in a session(trust me that was the only 'way' i could imagine
doing it), and i am losing the session variable, its just returning
empty values...does any one has any ideas?


Please show us how to reproduce the problem.
Jul 19 '05 #3

P: n/a
Actually i am trying to access them in the same directory and the session
timeout shouldnt be an issue at all. Do you think the low system memory is
doing this?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OZ*************@tk2msftngp13.phx.gbl...
Session timeout?

Are you setting them in site/dir1 and then they don't exist in site/dir2,
yet if you go back to site/dir1, they are there again? If so, remove the
application from dir2 in IIS manager for your site.

Ray at work

"vivek" <vi********@yahoo.com> wrote in message
news:OG**************@tk2msftngp13.phx.gbl...
Do any of you guys have any idea what might be the reason for losing session
variables, i was working on a page where i had to stroe a array in a
session(trust me that was the only 'way' i could imagine doing it), and

i am
losing the session variable, its just returning empty values...does any

one
has any ideas?


Jul 19 '05 #4

P: n/a
Don't know. Give me a VPN connection or ship your server to me, or provide
more info. Are cookies enabled?

Ray at work

"vivek" <vi********@yahoo.com> wrote in message
news:Ov**************@TK2MSFTNGP09.phx.gbl...
Actually i am trying to access them in the same directory and the session
timeout shouldnt be an issue at all. Do you think the low system memory is
doing this?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OZ*************@tk2msftngp13.phx.gbl...
Session timeout?

Are you setting them in site/dir1 and then they don't exist in site/dir2, yet if you go back to site/dir1, they are there again? If so, remove the application from dir2 in IIS manager for your site.

Ray at work

"vivek" <vi********@yahoo.com> wrote in message
news:OG**************@tk2msftngp13.phx.gbl...
Do any of you guys have any idea what might be the reason for losing session
variables, i was working on a page where i had to stroe a array in a
session(trust me that was the only 'way' i could imagine doing it),
and i
am
losing the session variable, its just returning empty values...does

any one
has any ideas?



Jul 19 '05 #5

P: n/a
"vivek" wrote:

Do any of you guys have any idea what might be the reason for
losing session variables, i was working on a page where i had
to stroe a array in a session(trust me that was the only 'way'
i could imagine doing it), and i am losing the session variable,
its just returning empty values...does any one


My guess: You only lose sessions if the browser is IE. Correct?
http://aspfaq.com/2157

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #6

P: n/a
never mind, fixed the problem. twas a problem with IIS setting. thanks all

Vivek

p.s: saved some money on shipping costs ;-)
"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:OG**************@tk2msftngp13.phx.gbl...
"vivek" wrote:

Do any of you guys have any idea what might be the reason for
losing session variables, i was working on a page where i had
to stroe a array in a session(trust me that was the only 'way'
i could imagine doing it), and i am losing the session variable,
its just returning empty values...does any one
My guess: You only lose sessions if the browser is IE. Correct?
http://aspfaq.com/2157

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.

Use of this email address implies consent to these terms. Please do not contact me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.

Jul 19 '05 #7

P: n/a
Damn! I was hoping to get a free server. ;]

Ray at work

"vivek" <vi********@yahoo.com> wrote in message
news:uP**************@tk2msftngp13.phx.gbl...
never mind, fixed the problem. twas a problem with IIS setting. thanks all

Vivek

p.s: saved some money on shipping costs ;-)

Jul 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.