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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -