chandrashekar vs

chandrashekar vs

  • NA
  • 13
  • 2.2k

Asp.net

Aug 6 2015 8:21 AM

 First

<configuration>

<system.web>

<sessionState mode="InProc" cookieless="true"timeout="60"/>

</sessionState>

</system.web>

</configuration>

Second

Go to global.asax file and write the code below:

void Session_Start(object sender, EventArgs e)

{

Session.Timeout = 60;

}

I tried Both methods in my application but, still my application session ends with in 20 min's . please give me the solution

Answers (6)