Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old November 27th, 2004, 06:31 AM
Authorized User
Join Date: Jun 2004
Location: Aurangabad, Maharashtra, India.
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default How to Kill Active Sessions

Hi there,

I don't know, whether this is right board to post this question, pardon me if I am wrong.

        I have developed a web application using ASP.Net and SQL Server as a Back End, which is running well. I just want to know that in my web application how many sessions are active at any time and if I want to kill any of those sessions explicitly, How can I do it.

though I have taken care that session will be abandon as soon as user logs out, but it remains active in case user does not logs out and closes it using close button of explorer.

There is one more option, that I can specify session time out period in IIS for each web application.

But these are all implicit options. If I want to Identify any of active session and its information. how can I do it and even kill it explicitly from the server itself.


Vinod Pawar
Software Developer
Vinod Pawar
United States
  #2 (permalink)  
Old March 25th, 2006, 05:23 AM
Friend of Wrox
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

Hii Vinod !!
Offcourse you can explictly call session on End ,when client browser is closed.
Since it's not a good idea to let the server to call it after 20 mints(default session timeout)
This code can help you

plz also visit the link provided by Imar on the same topic
Cheers :)


Cheers :)

  #3 (permalink)  
Old July 7th, 2006, 12:19 AM
Registered User
Join Date: Jul 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Vinod Pawar,
  I have been searching a lot on how to create the msi for dotnetnuke, then i found your page where you explained the automated xcopy. In that explaination you haven't described where are you linking the dotnetnuke project with that msi in the whole procedure. Please help me as i require it very badly.
     I hope you can understand my situation as you too faced it.

Thanks & Regards,
Mukesh Kumar

Similar Threads
Thread Thread Starter Forum Replies Last Post
Process.Kill() online problem kool_creative General .NET 3 October 30th, 2006 12:07 AM
Kill Excel after printing completed Bruce VB How-To 5 June 26th, 2006 07:13 AM
MyConnection.Close does not kill process busher ASP.NET 1.0 and 1.1 Professional 9 January 13th, 2006 06:00 PM
Mixing classic ASP sessions with ASP.NET sessions scorpion_king General .NET 2 August 4th, 2004 08:20 AM
kill error alert soon Javascript 1 June 11th, 2003 06:04 AM

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