Can we change the session timeout in ASP.NET, if yes then
how and from where?
Answer Posted / narendra soni
to change session timeout write this code in your web.config
file
<sessionState mode="InProc" timeout="60">
or you can also set this in global.asax file as
Session.Timeout = 60 ; // in Session.Start() event
it will increase your session expire time .
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
What is the application pool?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
Is asp.net easy to learn?
Why would anyone need to implement their own hashtable or linked list?
In how many ways we can retrieve table records count?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
What is the difference between application state and session state in asp net?
What is s2s tracking?
Which protocol is used in a web api?
Can you explain page lifecycle in net?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
What are the differnt types of handler in ASP.NET?
Define viewstate in .net?
How you will handle session when deploying application in more than a server?