473,584 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
+ 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 7778
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********@yah oo.com> wrote in message
news:OG******** ******@tk2msftn gp13.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******** *****@tk2msftng p13.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********@yah oo.com> wrote in message
news:OG******** ******@tk2msftn gp13.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********@yah oo.com> wrote in message
news:Ov******** ******@TK2MSFTN GP09.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******** *****@tk2msftng p13.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********@yah oo.com> wrote in message
news:OG******** ******@tk2msftn gp13.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**********@s pammotel.com> wrote in message
news:OG******** ******@tk2msftn gp13.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********@yah oo.com> wrote in message
news:uP******** ******@tk2msftn gp13.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
2771
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 process of transitioning the server on which it runs from Microsoft Windows 2000 Server, to 2003 server (going from IIS 5 to IIS 6). This problem hasn't...
2
3300
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. It also works fine if you have the option set to 'Reuse Windows for Lauching Shortcuts' checked in the I.E. properties and launch our app from a...
2
1800
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 sets a javascript variable called beenChecked = true and then calls a PopUp window to spell check the comment. When it's done spell checking, it...
3
1975
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?? also, is there a way to automatically go back to the login page as soon as the sessions have expired or are lost. thanks
0
1385
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 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.
2
1548
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 details/comments: I am doing a session_start() on ALL of my pages, right at the top of each page
2
2533
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 another page which fetches the variables from the session array and displays them. All works fine on the Linux test server. However the production...
0
1807
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 refresh of the browser. My test page goes a little something like this: <h1>Checking Session Variables</h1> <h2>Checking what session...
5
6122
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 scope. Application variables are then accessed in this manner Request.App.<Var>. To begin with I had a simple functioning login system inside a...
0
7897
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8189
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7940
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6587
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5705
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5379
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3850
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1162
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.