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


Please Help Members By Posting Answers For Below Questions

How can u debug your .net application?

576


What is http only cookie?

496


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

670


What is the postback property in asp.net?

542


Describe SOA and the tenets of it?

552






Which is the parent class of the web server control?

564


What are the different types of validation controls provided in ASP.NET?

663


What are the two properties that are common on every validation control?

551


How u refer webservices?

1492


When should I use server transfer and response redirect?

508


Is asp net front end or backend?

524


Explain managed code an un-managed code.

592


Why do we use asp.net?

584


What can we do with asp.net?

510


Why is xap important?

594