Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 28th, 2004, 01:30 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In your original post you stated:
Quote:
quote:...When the user loggs in I enter some information in a database table with SessionID as the Primary Key.
Now you are asking where the table is? You don't know where the table is? Didn't you build the table?
 
Old September 28th, 2004, 11:20 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

I cannot delete from my table. what i asked was is there someplace where iis stores the session info so that I can delete the same so as to destroy the sessionid created and force the creation of a new sessionid

Regards
Ganesh
 
Old October 4th, 2004, 12:04 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I don't think there is a way to do that because one browser session is one session. Conceptually, this is how it should work. As far as I see it, the only way to create a new session is for the session to be automatically destroyed or close the browser and start over.

Why can't you delete from your own table? Perhaps you need to redesign this aspect of the session.

Or maybe you can just do an update when a user logs in with a session ID that already exists instead of an insert.
 
Old October 4th, 2004, 11:20 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

I am using a profiler utility in my application whcih tracks of the activities done by a user during his session. This is stored in a table with SessionID as the Primary Key. Only in that case it is possible to update the table once the session is lost. In case I use some other item as the Primary Key and store that value in the session on logon, I will lose the value on the Session_OnEnd Event. and Hence I cannot update back the information of session end

Regards
Ganesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
session.abandon() sarah lee ASP.NET 1.0 and 1.1 Basics 4 December 11th, 2006 06:10 PM
Logout and Session.Abandon() fskilnik Classic ASP Basics 6 October 25th, 2005 05:17 PM
session.abandon!! cici Classic ASP Professional 1 April 16th, 2004 12:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.