In 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 in All my execute method in
Struts Action File .
if(request.getHeader("REFERER")==null){

throw new Exception("Invalid operation");
  }

Is this Correct way of handling ?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to