T
tshad
I have a logon page that my pages go to log a person on using
formsAuthentication.
Is there a way to jump directly to the logon page and have it set the
formsAuthentication cookie so that the next page (that would normally
require logging on - if not already done) would not jump to the logon page.
For example, I have a page with my submit function like so:
**********************************************************
sub submit_click( sender as Object, e as EventArgs )
if Not IsValid then
exit sub
end if
if request("ReturnURL") = Nothing then
server.transfer("resumeSubmit.aspx")
else
FormsAuthentication.RedirectFromLoginPage(txtEmail.text,false)
end if
end Sub
***********************************************************
I assume the FormsAuthentication.RedirectFromLoginPage normally sets the
cookie and jumps to the page that called it. Can I put a call just before
the server.transfer that does the same thing?
Thanks,
Tom.
formsAuthentication.
Is there a way to jump directly to the logon page and have it set the
formsAuthentication cookie so that the next page (that would normally
require logging on - if not already done) would not jump to the logon page.
For example, I have a page with my submit function like so:
**********************************************************
sub submit_click( sender as Object, e as EventArgs )
if Not IsValid then
exit sub
end if
if request("ReturnURL") = Nothing then
server.transfer("resumeSubmit.aspx")
else
FormsAuthentication.RedirectFromLoginPage(txtEmail.text,false)
end if
end Sub
***********************************************************
I assume the FormsAuthentication.RedirectFromLoginPage normally sets the
cookie and jumps to the page that called it. Can I put a call just before
the server.transfer that does the same thing?
Thanks,
Tom.