Session timeout problem

  • Thread starter Thread starter Henke
  • Start date Start date
H

Henke

Hi!

We have a ASP.NET application that uses remoting to connect to the backend.
Is there a way to take care of Sessions that times out in a common way. Now
we are checking Session.IsNewSession and then redirects to the login-page.
This code we have to add on every page which is quite many. Is there a
better way of controling the session timeout?

Thanks!
/Henke
 
You can raise the timeout limit in your web.config

<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" timeout="120" />
 
Yes, but that doesn't solve the problem though...
Isn't there any other way?
/Henke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top