F
feng
My users who try to access a page before login are
redirected to my login page. Then after they successfully
login, my login page will redirect the user to the page
they intended to go through this line:
FormsAuthentication.RedirectFromLoginPage(strUserName,
False)
What I want now is that I want to capture the origional
url that the use intented to go BEFORE the user logs in. I
don't mind to do this in the login page, but this has to
be done in the page load, before the user's login info
typed in.
I know there is a function:
FormsAuthentication.GetRedirectUrl(strUserName, False)
but this won't work for me because it expect user name.
Any ideas?
Thanks a million!
redirected to my login page. Then after they successfully
login, my login page will redirect the user to the page
they intended to go through this line:
FormsAuthentication.RedirectFromLoginPage(strUserName,
False)
What I want now is that I want to capture the origional
url that the use intented to go BEFORE the user logs in. I
don't mind to do this in the login page, but this has to
be done in the page load, before the user's login info
typed in.
I know there is a function:
FormsAuthentication.GetRedirectUrl(strUserName, False)
but this won't work for me because it expect user name.
Any ideas?
Thanks a million!