Re: FormsAuthentication.GetRedirectUrl()



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



.



Relevant Pages

  • Re: [PHP] $ of variables, php, mysql
    ... Hey thanks guys. ... > Kilimajer wrote: ... > easier to parse: ... > provided no source code, ...
    (php.general)
  • Re: Side project
    ... Hey, it's written by you. ... I don't want to hurt your ... feelings, but the source code is.. ...
    (rec.games.roguelike.development)
  • Re: Datagrid within a Datagrid, treeview style....
    ... The source code here would probably give you a good start at that: ... > Hey all, ... that's what I'm trying to accomplish. ... > the industry for a couple years, but this is my first exposure to .NET ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Keeping two databases in sync
    ... Oliver Mathews wrote: ... > Hey thanks for all the effort you have put in here! ... the interface is in french (and the source code comments ...
    (borland.public.delphi.thirdpartytools.general)