The browser prompts is a form page to submit form data, and user refresh the page that pops up.
Purpose is to prevent duplication of data submitted, especially for Internet banking operation in the user, this feature very useful.
However, I assist clients with site landing page has a mailbox, if the user name, password input error, the user clicks refresh, the prompt will pop up
Cumbersome, unsightly cut, steps to increase the user to consider removing.
Remove method, if it is a new page, then repeat the submission does not exist, haha:
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert(' Please fill in the username !');location.href=location.href;</script>"); return;
Operation is over, customers are prompted to complete, it will page back page.
This does not affect the customer access to data, and after refreshing, it will not pop up the prompt.
Of course, you can jump in cs in