How To Block Refresh In Yii Web App


 How to Block refresh (cursor in URL+enter) and to disable the default reload button in web page, using javascript or something....

Er, no bit of Javascript can prevent a user from clicking the address bar and hitting enter. You’d need your Yii app to detect if the user has refreshed, and if so, deal with it.