-
Session and timeout
I have a session time of 20 min. How do I make an information to the user when the session is exceeded and telling him to login once more?
The way I have done it now only transfers the user to login side, not telling him that the session is exceeded.
This is done applying this code in the web.config:
Code:
<authentication mode="Forms">
<forms name=".hpl" loginUrl="login.aspx" protection="All" timeout="20" />
</authentication>
-
You could create 2 login pages.
The first is the one the users log into initially and the second one containing the message is the one they get redirected to after a session time out.
Probably not the best way to do it but it would be easy to implement and would work.
-
Hmmm, when using the authentication tag the loginurl will always be shown if you haven't made a succesful login, so I think it's impossibe to have to login pages. :rolleyes: