E
Ersin Gençtürk
I show errors as popup boxes via alert() but I write this scripts in header
of html page.So if there is an error on the server side , in the next
postback a popup shows the error via alert , this works fine.But when user
presses the back button then the former error messages appear ,because pages
are loaded from the cache.I need to find a way in javascript if a page is
loaded from server or navigated to page by pressing back or forward
buttons.Is there a property or anything that I can do ?
of html page.So if there is an error on the server side , in the next
postback a popup shows the error via alert , this works fine.But when user
presses the back button then the former error messages appear ,because pages
are loaded from the cache.I need to find a way in javascript if a page is
loaded from server or navigated to page by pressing back or forward
buttons.Is there a property or anything that I can do ?