M
Mariam
Hi, all,
We have mutiple ASP.NET web applications and setup on
mutiple web servers (win2k, .netframework 1.1). All the
web applications are setup to use Forms authentication.
All the applications will be sent to the same application
to get authenticated (the authentication tag and the
machienkey tag have all been setup properly) and then
supposely, redirect back to the originated URL after
getting authenticated.
My problem is: The FormsAuthentication.GetRedirectURL
method always returns a relative url rather than an
absolute one. I.e. it returns /folder/page.aspx rather
than http://from.site.com/folder/asp.aspx.
Does anyone know why and is there anything (maybe in the
registry) I can set to force it to return the absolute URL?
I know I can do some workaround in the global.asax. But is
there other nice way?
Thanks a million for the help!
Mariam
We have mutiple ASP.NET web applications and setup on
mutiple web servers (win2k, .netframework 1.1). All the
web applications are setup to use Forms authentication.
All the applications will be sent to the same application
to get authenticated (the authentication tag and the
machienkey tag have all been setup properly) and then
supposely, redirect back to the originated URL after
getting authenticated.
My problem is: The FormsAuthentication.GetRedirectURL
method always returns a relative url rather than an
absolute one. I.e. it returns /folder/page.aspx rather
than http://from.site.com/folder/asp.aspx.
Does anyone know why and is there anything (maybe in the
registry) I can set to force it to return the absolute URL?
I know I can do some workaround in the global.asax. But is
there other nice way?
Thanks a million for the help!
Mariam