#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    0
    Rep Power
    0

    Unhappy Disable Refresh?


    Hi,

    I'm trying to disallow users from refreshing a page. Is there some way for the servlet to identify that the request is coming from the browser's Refresh/Reload button?

    Or are there any other workarounds to achieve this?

    Any advice greatly appreciated!
  2. #2
  3. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    India
    Posts
    7
    Rep Power
    0
    i dunno if u can disable refresh...but if ur response is a lengthy-one u can check if the client is alive or not by using
    if out.checkError() {
    // end application
    }
    else
    //continue

    may this cud be of some help to u...

IMN logo majestic logo threadwatch logo seochat tools logo