469,327 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

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 4816
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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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 "traditional" 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.SessionID) 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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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**************@tk2msftngp13.phx.gbl...
First, is this traditional ASP or ASP.NET?

In "traditional" 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.SessionID) 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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
> news:%2****************@TK2MSFTNGP09.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_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP14.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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@(remove-this)delphi-ts.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP11.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_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP14.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP11.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_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP14.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP09.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@(remove-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
Not that I am aware of. She is one of about 40 users wihtin the same
network, and only she is having the issue. Her browser is IE version 6 on
Win2k Pro. My client is going to check to see if IE really does close or if
there are is any malware running.

Thanks,

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...
Proxy/Cache server inbetween?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP11.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_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP14.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
> news:%2****************@TK2MSFTNGP09.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 #11
Ahhh,..... ONE PC.
That makes all the dif in the world. Not a server issue then most likely...
:}

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
news:ur**************@TK2MSFTNGP10.phx.gbl...
Not that I am aware of. She is one of about 40 users wihtin the same
network, and only she is having the issue. Her browser is IE version 6 on
Win2k Pro. My client is going to check to see if IE really does close or
if there are is any malware running.

Thanks,

--
David Lozzi
Web Applications/Network Specialist
Delphi Technology Solutions, Inc.
dlozzi(remove-this)@delphi-ts.com
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:e2**************@TK2MSFTNGP11.phx.gbl...
Proxy/Cache server inbetween?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"David Lozzi" <dlozzi@(remove-this)delphi-ts.com> wrote in message
news:%2****************@TK2MSFTNGP11.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_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP14.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@(remove-this)delphi-ts.com> wrote in message
news:eM**************@tk2msftngp13.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_darkfalz.com> wrote in message
> news:eA**************@TK2MSFTNGP12.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@(remove-this)delphi-ts.com> wrote in message
>> news:%2****************@TK2MSFTNGP09.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 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Richard P | last post: by
5 posts views Thread by news.microsoft.com | last post: by
8 posts views Thread by ari | last post: by
5 posts views Thread by Sean | last post: by
3 posts views Thread by mcbobin | last post: by
11 posts views Thread by Glenn | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.