8378 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

Just FYI I tried, using FF which works with onunload, catching the event using JS, passing it to Flash and then from Flash to the server… didn’t work. Its all closed down too fast for the server communication to take place so this definetly isn’t something worth attempting…

i’d stay away from any sorta onunload event or javascript hack. just give them a session that expires X minutes after the last activity was received on the server. this will cater for power outs, javascript disabled, browser crashes, browsers/security plugins that restrict unload events.

yeah I think this is going to be the way to handle this, onunload just isn’t reliable enough :(

Cheers guys :)

8378 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says
(whats the go with <code> tag? – nl2br / gsub(/\n/, ’<br />‘) )

for code use the < p r e > tag?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by