473,480 Members | 2,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Losing Session Variables?

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
7 7771
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
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
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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2765
by: Scott Lyon | last post by:
I'm maintaining (read: I didn't write it, nor do I have the time to spend to rewrite it) an application that is suddenly giving me grief. The reason I say suddenly, is because we're in the...
2
3292
by: Terry | last post by:
When launching our application with Internet Explorer already opened, but not pointing to our web server, the session variables disappear. If you open I.E. after launching our app, it works fine....
2
1794
by: James | last post by:
Session("UserName") is set when someone logs in. Get to a page that displays a record where you can type a comment. The form has an onSubmit event that calls a javascript function. That function...
3
1969
by: ACaunter | last post by:
Hi all, I'm wondering why I keep losing my session variables all the time. I've set the timeout to be an hour, but for some reason randomly i keep losing everything.. what could be causing this??...
0
1376
by: Jimmy Reds | last post by:
Hi, Sorry if this appears twice but I post through Google Groups and it had a funny 5 minutes and didn't appear to post this message the first time. I am setting session variables on a page...
2
1539
by: Jimmy Reds | last post by:
Hi, I am setting session variables on a page then doing a header/location redirect to a second page however I am losing one of my session variables. Not all of them, just one. Here are some...
2
2519
by: Geoff Berrow | last post by:
I have a page containing a form. The page submits to itself and if the data validates, stores the posted variables into a database and also into a session. I then use header to redirect to...
0
1800
by: jason.friesen | last post by:
Hi Folks I have a custom CMS built in classic ASP that is losing session variables. To wit, I can create a situation where my 'show all the set SVs' test page shows a different set of SVs on each...
5
6109
by: chromis | last post by:
Hi there, I've recently been updating a site to use locking on application level variables, and I am trying to use a commonly used method which copies the application struct into the request...
0
7048
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6911
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4787
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.