views:

298

answers:

4

I need to increase session timeout of my web use form ...

could anyone please help ?

+1  A: 

Google is your friend: changing script timeout in ASP.NET

Alex
+5  A: 

In Web.config:

<system.web>
  ...
  <sessionState timeout="timeout in minutes"
       ...
  />
  ...
</system.web>
Mehrdad Afshari
But i couldnt see the session tag in web.config. But my webpage is timing out after some time.
SmartestVEGA: Add a `<sessionState mode="InProc" timeout="something" />` to `Web.config` if there's not one already. Note that "session timeout" is different from script timeout. If a single Web page is taking to long to display, it's not a session timeout. It's a script timeout.
Mehrdad Afshari
+2  A: 

Hai, Have a look at this it will give you a clear picture

sessionState element in web.config

Pandiya Chendur
+1  A: 

See followings:
http://stackoverflow.com/questions/435538/how-to-configure-the-timeout-of-your-asp-net-web-application
http://stackoverflow.com/questions/648992/session-timeout-in-asp-net

Brij
But i couldnt see the session tag in web.config. But my webpage is timing out after some time
Add it, there is no problem if you add this tag manually. Make sure, you have done it in <system.web> tag.
Brij
is the anywhere else i need to set the timeout like...IIS and machine.conf...etc ..etc...?
If you need to set authentication timeout, see second link
Brij
My problem is users are taking tooo long time to submit the form button..hence i need to increase timeout ..for that i need to set authentication timeout?