G
Guest
I build a website on my computer and copy the files to the Server.
When I accessing the website which on the server by server's ip address,
everything is right. But when I use the domain name, all of the computers
cannot redirect the request url after they are validated except my computer.
I have use the FormsAuthentication.RedirectFromLoginPage event ,but it is no
use.
How to resolve it ?
Thanks!
PS:
I have tried to use Server.Transfer, it can get the correct web but the
User.Identity.Name is null. I also used Response.Redirect and
FormsAuthentication.RedirectFromLoginPage , it always stays at
"login.aspx?returnrul=XXXXXXXX"
When I accessing the website which on the server by server's ip address,
everything is right. But when I use the domain name, all of the computers
cannot redirect the request url after they are validated except my computer.
I have use the FormsAuthentication.RedirectFromLoginPage event ,but it is no
use.
How to resolve it ?
Thanks!
PS:
I have tried to use Server.Transfer, it can get the correct web but the
User.Identity.Name is null. I also used Response.Redirect and
FormsAuthentication.RedirectFromLoginPage , it always stays at
"login.aspx?returnrul=XXXXXXXX"