mode="InProc"
timeout="120" />
And below is the code of my logout page
Session.Clear()
Session.Abandon()
LoggedInUserId = 0
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetExpires(DateTime.Now.AddMinutes(60))
Response.Cache.SetNoStore()
Response.Redirect("~/Login.aspx")
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Manish Kumar ChoudharyPosted Dec 5, 2014, 2:09 AM
increase the timout sec as per ur need
then it will not logout.
Danish HabibPosted Dec 5, 2014, 1:02 AM