Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 7th, 2006, 04:41 AM
Authorized User
 
Join Date: Jun 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session Problem

Hi every1

I want to know if i am not mentioned session timeout in my web.config file,then what will be effect on my application?

My second question is:I have mentioned session timeout as 20min in web.config file.I am accessing my application but after every 20min it gives an error "session expired".My system is not ideal.For my point view session is expired when system is ideal but my application is not ideal.What is the options for that?I am using InProc state.
If u have any solution,pls reply me.

Thanks
monika

 
Old September 7th, 2006, 07:32 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

If you don't set a session timeout in your config file, the application is set to the default timeout, 15 mins.

I do not understand your second question.

"The one language all programmers understand is profanity."
 
Old September 7th, 2006, 07:51 AM
Authorized User
 
Join Date: Jun 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

I have defined session timeout 20min in web.config file.My system is not idle...but i got an error "session expired" even i have eneterd data in textbox upto 20min and then click on button for save this data then also i got an error "session expired".so what i do?

I hope u getting my question...............

Thanks
monika

 
Old September 7th, 2006, 07:57 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Entering data in a textbox for 20 mins does not keep the session alive, your typing is occuring on the client side; to keep your session alive you must move around the application e.g., posting forms, making database calls etc.

So yes, your system is idle if you are just entering data into a textbox for 20 mins.

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Out Problem kasipandian J2EE 3 March 21st, 2008 03:35 PM
session problem MunishBhatia ASP.NET 2.0 Professional 9 October 6th, 2007 04:06 AM
Session problem abdulweb General .NET 3 August 27th, 2007 08:01 PM
session and cookie problem (empty session file) msincan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 27th, 2005 05:31 PM





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