Browser History by HTTP-REFERER
843838Aug 3 2006 — edited Aug 3 2006In my Struts Web application
i need to restict the user accessing pages from Browser History.
When i access any page from Browser History i get
http-referer=null
So,
I am checking this by below code on Server side .
if(request.getHeader("REFERER")==null){
throw new Exception("Invalid operation");
}
Is this Correct way of handling ?