473,574 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session State does not end after closing browser

Hello All,

I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to the site, the shopping cart information is there! The shopping cart info is only loaded into a session variable! There are no cookies on the site to store this information. Am I mistaken in believing when a browser window is closed that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
Jul 22 '05 #1
11 5060
Not necessarily. The session will actually "go away" when it times out. That
said, if they close and reopen it should be a new session, if its not then
they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site. If
the user loads the shopping cart and then closes all browser windows, then
opens them back up, goes back to the site, the shopping cart information is
there! The shopping cart info is only loaded into a session variable! There
are no cookies on the site to store this information. Am I mistaken in
believing when a browser window is closed that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com

Jul 22 '05 #2
I am the developer of this application, and the only thing we are using are
sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out.
That said, if they close and reopen it should be a new session, if its not
then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site.
If the user loads the shopping cart and then closes all browser windows,
then opens them back up, goes back to the site, the shopping cart
information is there! The shopping cart info is only loaded into a session
variable! There are no cookies on the site to store this information. Am I
mistaken in believing when a browser window is closed that the session
state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com

Jul 22 '05 #3
First, is this traditional ASP or ASP.NET?

In "traditiona l" ASP (we should start calling it "classic") sessions are
maintained by an in-memory session id cookie. As long as the browser keeps
sending the same cookie the server will connect it to the associated
session. The session data resides in memory on the server and is retained
until the session times out from inactivity (no new ASP requests) or
session.abandon is called.

An in-memory cookie should be destroyed when the browser's process is
closed. What browser and version are you using? Are you using another
application that launches the browser for you?

Try displaying the session id (Session.Sessio nID) on a page and see if it
remains the same after the browser is closed and re-started.

If you are using ASP.NET you will need to ask on a .net newsgroup.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using are sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out.
That said, if they close and reopen it should be a new session, if its not then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site.
If the user loads the shopping cart and then closes all browser windows,
then opens them back up, goes back to the site, the shopping cart
information is there! The shopping cart info is only loaded into a session variable! There are no cookies on the site to store this information. Am I mistaken in believing when a browser window is closed that the session
state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com


Jul 22 '05 #4
are the cart items stored in a DB or just in the session? what are you using
as the ID/link to the items if in a db?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using are
sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out.
That said, if they close and reopen it should be a new session, if its
not then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site.
If the user loads the shopping cart and then closes all browser windows,
then opens them back up, goes back to the site, the shopping cart
information is there! The shopping cart info is only loaded into a
session variable! There are no cookies on the site to store this
information. Am I mistaken in believing when a browser window is closed
that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com


Jul 22 '05 #5
I thought about that possiblity as well, if the browser never really closes.
I've asked my client to check the processes in task manager to verify that
it closes.

And yes, it is classic ASP.

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Mark Schupp" <no****@nospam. com> wrote in message
news:e9******** ******@tk2msftn gp13.phx.gbl...
First, is this traditional ASP or ASP.NET?

In "traditiona l" ASP (we should start calling it "classic") sessions are
maintained by an in-memory session id cookie. As long as the browser keeps
sending the same cookie the server will connect it to the associated
session. The session data resides in memory on the server and is retained
until the session times out from inactivity (no new ASP requests) or
session.abandon is called.

An in-memory cookie should be destroyed when the browser's process is
closed. What browser and version are you using? Are you using another
application that launches the browser for you?

Try displaying the session id (Session.Sessio nID) on a page and see if it
remains the same after the browser is closed and re-started.

If you are using ASP.NET you will need to ask on a .net newsgroup.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using

are
sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
> Not necessarily. The session will actually "go away" when it times out.
> That said, if they close and reopen it should be a new session, if its not > then they must be using something more then JUST sessions.....
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
> news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> Hello All,
>
> I am having an issue with thus far one computer on my client's web
> site.
> If the user loads the shopping cart and then closes all browser
> windows,
> then opens them back up, goes back to the site, the shopping cart
> information is there! The shopping cart info is only loaded into a session > variable! There are no cookies on the site to store this information.
> Am I > mistaken in believing when a browser window is closed that the session
> state is lost?
>
> I don't know what browser it is, but should that matter?
>
> Thanks a million!!
>
> --
> David Lozzi
> Web Applications/Network Specialist
> Delphi Technology Solutions, Inc.
> dlozzi(remove-this)@delphi-ts.com
>
>
>



Jul 22 '05 #6
cart items are only in a session variable, not a db

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
are the cart items stored in a DB or just in the session? what are you
using as the ID/link to the items if in a db?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using
are sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out.
That said, if they close and reopen it should be a new session, if its
not then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site.
If the user loads the shopping cart and then closes all browser windows,
then opens them back up, goes back to the site, the shopping cart
information is there! The shopping cart info is only loaded into a
session variable! There are no cookies on the site to store this
information. Am I mistaken in believing when a browser window is closed
that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com



Jul 22 '05 #7
Don't they just pick past pages from the cache ?

Patrice

--

"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
cart items are only in a session variable, not a db

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
are the cart items stored in a DB or just in the session? what are you
using as the ID/link to the items if in a db?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using
are sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out. That said, if they close and reopen it should be a new session, if its
not then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to the site, the shopping cart
information is there! The shopping cart info is only loaded into a
session variable! There are no cookies on the site to store this
information. Am I mistaken in believing when a browser window is closed that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com




Jul 22 '05 #8
Proxy/Cache server inbetween?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
cart items are only in a session variable, not a db

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
are the cart items stored in a DB or just in the session? what are you
using as the ID/link to the items if in a db?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:eM******** ******@tk2msftn gp13.phx.gbl...
I am the developer of this application, and the only thing we are using
are sessions, there are no cookies. What else could possibly cause this?

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
Not necessarily. The session will actually "go away" when it times out.
That said, if they close and reopen it should be a new session, if its
not then they must be using something more then JUST sessions.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remo ve-this)delphi-ts.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hello All,

I am having an issue with thus far one computer on my client's web
site. If the user loads the shopping cart and then closes all browser
windows, then opens them back up, goes back to the site, the shopping
cart information is there! The shopping cart info is only loaded into a
session variable! There are no cookies on the site to store this
information. Am I mistaken in believing when a browser window is closed
that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com




Jul 22 '05 #9
On Thu, 27 Jan 2005 10:20:45 -0500, "David Lozzi"
<dlozzi@(remo ve-this)delphi-ts.com> wrote:
Hello All,

I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to the site, the shopping cart information is there! The shopping cart info is only loaded into a session variable! There are no cookies on the site to store this information. Am I mistaken in believing when a browser window is closed that the session state is lost?

I don't know what browser it is, but should that matter?

Thanks a million!!


With IE at least, all the currently open browser windows need to be
closed, not just the one for the site in question, so make sure
nothing else is open.

I

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3630
by: Pack Fan | last post by:
I've noticed that session variables will persist on Mac IE even after all browser windows have been closed. One must quit the program to clear the session variables. This presents a security risk for my session variable based security scheme. Basically, the risk is that a user will login to my site, close the window when done and allow...
5
3639
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling Server.Execute(rs_Modules("ModulePath")). This works fine for up to 15 "menus" After that,...
3
1840
by: Richard P | last post by:
I am experiencing some browser weirdness. My app uses session state to hide values I prefer to keep out of the querystring. I am testing to see what happens when cookies are fully disabled in IE 6 and NS 7. NS behaves as expected: it has no recall of previous requests. With IE however my app works as normal: I can still store and retrieve...
5
9106
by: news.microsoft.com | last post by:
Hi everyone, I need some help (may be in the form of some sample code) for the subject question. I have an ASP.NET/C# application. I need to do quite a few tasks when the session ends. I don't want to depend on the session timeout factor since it may end too soon or it may hang around too long. I can't find any event that fires when...
8
1738
by: ari | last post by:
hey all, i'm trying to make my app as stateless as possible. is it ok to create a dataset and store in viewstate and whenever the user decides to select a from that dataset, to move from viewstate, to session, and on the details page back to viewstate. Or does that sound like too much work? thanks, ari
5
548
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know users or save any data. If the application crashes or user exits the program they should simply start again. Pretty basic. All interactions are...
18
3425
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that File-New-Window creates an instance of IE in the same process with the same SessionID as the parent window is in big trouble. This fundamentally restricts...
3
3689
by: mcbobin | last post by:
Hi, Hopefully somebody can help me... The development team I work in has created a large application that has started displaying some nasty bugs which we think are being caused by the session state. When a single user logs in, their location ID is assigned to the
11
3630
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each method has the WebMethodAttribute.EnableSession set to true. When I run the test page the session is maintained. However, using a console...
0
7803
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
7720
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7810
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
6451
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
5618
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
5299
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
3749
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2240
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 we have to send another system
0
1056
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.