• Post Reply Bookmark Topic Watch Topic
  • New Topic

Change page event vs close page event?  RSS feed

 
joseph corner
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a java chat applet which logs out its users in the destroy() method. This is called when the host web page is closed, but not when the web page is changed, e.g. with the forward or back button.
Should I be listening for a special "page change" event?
Thanks
J
 
joseph corner
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help on this one?
Thanks,
J
 
joseph corner
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
duh, OK. use stop().
easy.
:roll:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!