Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 August 5th, 2005, 12:11 PM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Increase the timeout on session_ending event

I am working in aspx .net. I required to increase the session time out based on session ending event. I have to do some calculation on session ending event and base on result I have to abaondone the session or increase the session timeout, so that I will not loose my session items. Please Help. There is a requirement like this in my project.
 
Old August 6th, 2005, 01:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

check below...
Code:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/a3b9a343-7704-4607-becb-ba143d3d62b9.asp
Always:),
Hovik Melkomian.
 
Old August 6th, 2005, 03:37 AM
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Hovic,
 I got that I can increase the session time out by giving Session.Timeout=30 . But the problem here is I will check a flag in database, on some event which is called just before session ending automatically and based on that flag I will increase the timeout or abandon the system. If you provide the sample code in .vb aspx it will be very helpful.

 
Old August 6th, 2005, 11:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Quote:
quote:...I will check a flag in database, ...
do u want to increase ur DataBase Connection [u]timeout</u>?!

by the way, please be aware that increasing timeout of sessions or connections will NOT have a good future for Server.


Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
identify increase automatic phuc2583 Classic ASP Basics 4 January 10th, 2008 08:00 PM
Increase mysql storage mgnishan MySQL 0 February 7th, 2007 01:37 AM
How to increase speed manishgore Pro VB Databases 5 March 2nd, 2004 05:17 PM
increase the size of the array Beulah ASP.NET 1.0 and 1.1 Basics 1 September 12th, 2003 08:54 AM





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