Javascript keep running even when you refresh the page

Posted by Shanison on Stack Overflow See other posts from Stack Overflow or by Shanison
Published on 2010-05-31T09:33:30Z Indexed on 2010/05/31 9:43 UTC
Read the original article Hit count: 213

Filed under:

Hi all,

Have anyone of you experienced that a javascript in a page keep running even after you refresh the page? As far as I know, javascript is single threaded, and it shouldn't keep running if I refresh the page.

For you info, I was implementing comet for a website. The previous request for lpoll keeping posting to server even after I refresh the page.

© Stack Overflow or respective owner

Related posts about JavaScript