开发者

ASP.NET page - how to stop from hitting F5 or back button

开发者 https://www.devze.com 2023-03-23 13:25 出处:网络
ASP.NET page - how to stop from hitting F5 or back button?? Please help. JQuery, JS working only on few browsers. Please s开发者_如何转开发uggest some server side code. Thanks.There is no server side

ASP.NET page - how to stop from hitting F5 or back button?? Please help. JQuery, JS working only on few browsers. Please s开发者_如何转开发uggest some server side code. Thanks.


There is no server side code to prevent the back button or F5 from being pressed. The JQuery/JS is probably about as good as its going to get.


You can't do that! Clients are free to do whatever they want. If they want to send any request n times to your server they can do it. If they want to go back (send a request that they have send previously) they can do it. Just accept it.

Whats your problem about back button/F5?

0

精彩评论

暂无评论...
验证码 换一张
取 消