| |||||
FormsAuthentication.GetRedirectUrl MethodSystem.Web.Security Namespace FormsAuthentication Class Returns the redirect URL for the original request that caused the redirect to the logon page. [ VB ] Public Shared Function GetRedirectUrl ( _ userName As String, _ createPersistentCookie As Boolean _ ) As String [ C# ] public static string GetRedirectUrl ( string userName, bool createPersistentCookie ); [ C++ ] public: static String* GetRedirectUrl ( String* userName, bool createPersistentCookie ); [ JScript ] public static function GetRedirectUrl ( userName : String, createPersistentCookie : Boolean ) : String; Parameters
Return ValueA string containing the redirect URL. RemarksIf there is no original URL, Default.aspx is used. If the redirect URL specifies a different server, this method also returns the authentication ticket as part of the query string. This method can be used by applications that need to do the redirect themselves instead of using RedirectFromLoginPage. See Also |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme