Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Access Time-out period.... Or session variable time limit?

  Asked By: Gerritt    Date: Jul 16    Category: Asp.net    Views: 1141
  

I am currently using access for development, but noticed that after awhile the connectivity will not work. For example there is a page that is reading the information, and after a short time if refreshed or "post-back" the information will be missing. If I take the page back one and "re-run" the page, the information will be fine.

The page where this is occuring is depending on a session

variable from a previous page for input. Is there a time out period for session variables?

The only other thing I can think of is that there is some type of time-out feature in access.
Has anybody ran into a similiar problem or is this an elementary
problem? Can somebody please help?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Clinton Edwards     Answered On: Jul 16

Yes there is a session  time-out.

It is set to a default of 20 minutes in web.config.

 
Answer #2    Answered By: Adelaide Fischer     Answered On: Jul 16

Although I don't have the exact

time, It seems like the time  is shorter than 20min. But, how do you

go about changing it?

 
Answer #3    Answered By: Blake Smith     Answered On: Jul 16

Here you go open your web.config:

Go/find this section:



<sessionState

mode="InProc"

stateConnectionString="tcpip=127.0.0.1:42424"

sqlConnectionString="data source=127.0.0.1;user id=sa;password="

cookieless="false"

timeout="20"

/>

Change timeout="20" to what ever you want it to be.

If this doesn't work  maybe you have another Web.config file that your application is taking its settings from.

First try this and if it doesn't work please let us know of the folder structure

 
Didn't find what you were looking for? Find more on Access Time-out period.... Or session variable time limit? Or get search suggestion and latest updates.




Tagged: