Re: FormsAuthentication.GetRedirectUrl()
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Sep 2006 15:39:45 +0000 (UTC)
Hey,
if you look at the source code you will see that these 2 parameters aren't even used (besides a check for null)
you can safely do this:
GetRedirectUrl(string.Empty, false);
---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
The "FormsAuthentication.GetRedirectUrl()" function takes two
parameters:
- username
- createPersistentCookie
I don't know *why* the function needs these parameters to tell me what
the original URL had been that had been requested before the user was
redirected to the Login page.
Is there any simple way to extract the information for what that URL
had been *without* having to provide these parameters? What do they do
anyway?
Alex
.
- Prev by Date: 3 field Logon - looking for guidance!
- Next by Date: importing public key from X509 certificate
- Previous by thread: 3 field Logon - looking for guidance!
- Next by thread: importing public key from X509 certificate
- Index(es):
Relevant Pages
|