c# - response.redirect not redirecting to full domain name -
i'm having issue redirecting same domain.
for example, redirection takes place on servera.domain.com/folder/application.aspx. however, program redirects me servera/folder/application.aspx.
the application works fine on domain, i'm forced relogin.
what can force redirection same domain??
i using asp.net 3.5
added redirect looks follows:
response.redirect("/folder/application.aspx?");
what if add tilde (~) character , call resolveclienturl redirect?
response.redirect(this.resolveclienturl("~/folder/application.aspx?"));
does take care of problem?
Comments
Post a Comment