473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

session.abandon doesn't!

Using default session handling (ie. inproc and with cookies). I have a
'logout' button that returns the user to the login screen and does a
session.abandon.

HOWEVER, if they then log back in (even with a different username) they will
have the same sessionid as before! This is not what I expected. Can someone
shed light on this, or how I can investigate further? Thanks,

Paul.

(Note - if the user closes their browser, and starts another browser session
then they get a NEW sessionid)
Nov 19 '05 #1
2 1781
The SessionID lasts as long as the browser session lasts even though the
session state expires after the indicated timeout period i.e the same
session ID can represent multiple sessions over time where the instance of
the browser remain the same. This is the normal behavior. Not sure why you
want a new session id?

"Paul W" <qq*@qqq.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Using default session handling (ie. inproc and with cookies). I have a
'logout' button that returns the user to the login screen and does a
session.abandon.

HOWEVER, if they then log back in (even with a different username) they
will have the same sessionid as before! This is not what I expected. Can
someone shed light on this, or how I can investigate further? Thanks,

Paul.

(Note - if the user closes their browser, and starts another browser
session then they get a NEW sessionid)

Nov 19 '05 #2
You are right in that I don't really care about the session ID - just the
session. However, I find that even after doing session.abandon there are
still items in the Session collection (ie. session.count>0). This worries me
that information may copy from session to session! Appreciate any further
info you can provide,

Paul.

"Joel Leong" <ch******@hotmail.com> wrote in message
news:O%****************@TK2MSFTNGP10.phx.gbl...
The SessionID lasts as long as the browser session lasts even though the
session state expires after the indicated timeout period i.e the same
session ID can represent multiple sessions over time where the instance of
the browser remain the same. This is the normal behavior. Not sure why you
want a new session id?

"Paul W" <qq*@qqq.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Using default session handling (ie. inproc and with cookies). I have a
'logout' button that returns the user to the login screen and does a
session.abandon.

HOWEVER, if they then log back in (even with a different username) they
will have the same sessionid as before! This is not what I expected. Can
someone shed light on this, or how I can investigate further? Thanks,

Paul.

(Note - if the user closes their browser, and starts another browser
session then they get a NEW sessionid)


Nov 19 '05 #3

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

Similar topics

8
by: yabba | last post by:
When IE file/new/window is used a new IE window is opened to the same session as the original. Is there a way to force a new session? TIA
1
by: Random | last post by:
I have an <asp:LinkButton runat="server" id="btnLogin"/> control that I use in my page header for login/logout link. Depending on the session state when the page loads, I set the .Text and...
2
by: RC | last post by:
hi, I now got a session ID. I want to try to resume a session by closing the current browser and open a new one. Then pass the session ID in URL query string on new browser to resume the...
3
by: Ricardo Q.G. | last post by:
in production environment we started to have a memory consumption problem at "asp.net wp". after a hard work we have discovered that Session.Abandon() does not reduce references to objects added to...
4
by: ad | last post by:
I use the Login controls of Asp.net 2.0 in my program. I want to logout a user by program, I try Session.Abandon() for this. But I found that the user is the same after I execute Session.Abandon()....
10
by: Li Pang | last post by:
Hi, I created a html page from which I give a link to another web site. The new site is opened in a new window. When I opened multiple windows, they all have the same SessionID. I want ot know...
3
by: rn5a | last post by:
In a MS-Access database application, the following code resides within the *Catch* block of a *Try....Catch* block: ========================================= Try 'some code Catch ex As...
2
by: Nathan Sokalski | last post by:
I have an application that is using Session state. On one page, I use the Session.Add() method to create the Key/Value pair for the first time. I am then sent to another page using...
16
by: Jonathan Wood | last post by:
Greetings, I was wondering if anyone here has a good understaning of the Session object. I know there are options like the Session.Abandon method and the regenerateExpiredSessionId setting,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
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,...
0
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...
0
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...

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.