Session timeout problem

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
 
G

Guest

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" />
 
H

Henke

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

session timeout? 4
Session Timeout 3
Telethon Authorization. All sessions are reset after authorization 0
Session Timeout 4
Session Timeout 1
Forms timeout, Session timeout 0
Session timeout 2
Session Timeout 13

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top