|
-
Jul 16th, 2004, 04:01 AM
#1
Thread Starter
Frenzied Member
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>
-
Jul 16th, 2004, 04:27 AM
#2
Fanatic Member
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.
-
Jul 16th, 2004, 05:11 AM
#3
Thread Starter
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|