timothy2l Posted September 19, 2003 Posted September 19, 2003 If a user clicks on a link and then is redirected to a login page, once they login, how do you redirect them to the page they were initially requesting? response.redirect("??????") Thanks Quote
Moderators Robby Posted September 19, 2003 Moderators Posted September 19, 2003 Are you using web.config for your security? Quote Visit...Bassic Software
timothy2l Posted September 19, 2003 Author Posted September 19, 2003 No, im just using session variables to keep track of the login. Quote
bungpeng Posted September 22, 2003 Posted September 22, 2003 In this case, you can use your session to store the page URL Quote
mr relaxo Posted September 22, 2003 Posted September 22, 2003 how about just storing the page they came from in a session variable like session("lastpage") = request.currentexecutionfilepath and then after a successful login just return them to that page Server.Transfer(Session("lastpage")) Quote You can not get ye flask.
bungpeng Posted September 22, 2003 Posted September 22, 2003 Of course you can do that, but since Session (server) will use more resource, normally people use it when login success. It is also depend on your environment. If Cookies is allows in Client site, then try to avoid using server Session. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.