Redirect to same page not working after deployment in IIS in ASP.Net

Last Reply 21 days ago By dharmendr

Posted 21 days ago

when i host in localhost my project is working perfectly. but if i host my project in internet its not working properly. especially redirecting page. all other pages are working correctly. once i submit my registration page it should be redirect to same page with warning message. but here my datas are saving in database but not redirecting to the page. i had checked in webconfig there is no fault in webconfig file. now inform me which coding im have to check.

Response.Redirect("register.aspx?RegistrationID=" + base64Encode(RegistrationID));

i am not getting any error. my process is to register the data. once i register i the data it should be redirect to same page and all fields to be empty. when i run in local host this process sucessfully doing. but while hosting the internet, when i register the data, the datas are storing in the database. but its not rediecting to the same page. and what i entered in the fields they are remain same.

You are viewing reply posted by: dharmendr 21 days ago.
Posted 21 days ago

To Redirect to the same page use