This topic is locked

Session Expired problem

1/27/2006 09:35:47
ASPRunnerPro General questions
I
isaksson author

When users leave a page open and the session expires, they go back to the login screens, but after entering the username and password they get back to the screen they where on when the session expired, but they are missing critical information such as masterkey, and any new records added at that time gets "lost" as masterkey is used to create the reference between tables. How can I force them to go via the menu when a session has expired????

Sergey Kornilov admin 1/27/2006

You can modify login.asp page removing lines in bold:

if Session("MyURL")<>"" then

Response.Redirect Session("MyURL")

else

Response.Redirect Replace("##FIRSTPAGE##", "%20", " ")

end if