|
|
Sergey Kornilov admin 2/16/2006 |
|
Hi, ' AfterSuccessfullLogin Event DoEvent "Call AfterSuccessfulLogin()" if ... end if
if Session("MyURL")<>"" then Response.Redirect Session("MyURL") else Response.Redirect Replace("menu.asp", "%20", " ") end if
if Session("MyURL")<>"" then Response.Redirect Session("MyURL") else if request("url")<>"" then Response.Redirect Replace(request("url"), "%20", " ") else Response.Redirect Replace("menu.asp", "%20", " ") end if end if
|
|
|
|
sparkg author 2/17/2006 |
|
Super...thanks Sergey. Hi, To go pass in the username and password in a href link please find two following code snippets in login.asp file: and replace with Now you can go directly to a "somefile_list.asp" if you use /login.asp?username=demo&password=demopass&remember_password=1&btnSubmit=Login&url=http://ASPRunnerPro/.../somefile_list.asp as a url, where demo is your Username and demopass is your Password. |
|