[PHP-DB] finding out if a user left our website ?
Hello Guys, Wanted to know if there is a way for us to find out, when a user moves away from our website( closing the window and entering a different url in the address bar ) closing the window i guess, we could use the javascript onclose or something similar but for the user moving away from my website by entering a different URL is what i would like to be able to find out. Thanks, Vinay
RE: [PHP-DB] finding out if a user left our website ?
-Original Message- From: Vinay Kannan [mailto:viny...@gmail.com] Wanted to know if there is a way for us to find out, when a user moves away from our website( closing the window and entering a different url in the address bar ) closing the window i guess, we could use the javascript onclose or something similar but for the user moving away from my website by entering a different URL is what i would like to be able to find out. Yeah. You and everyone else on the web... ;-) Not possible really. The web (by design) is stateless. This is the same reason that you can't cancel a long running mySQL query if someone hits Stop in the browser or leaves the page (and your mySQL server will happily keep churning away and then try to return the data to a non-existant page). It's sort of a fire and forget system. Best you can hope for is to keep updating a timestamp to know how long they've been there (and an auto-logout after some amount of inactivity). -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] finding out if a user left our website ?
I think you can do that with window.focus in javascript. Karl On Aug 25, 2010, at 3:32 PM, Vinay Kannan wrote: Hello Guys, Wanted to know if there is a way for us to find out, when a user moves away from our website( closing the window and entering a different url in the address bar ) closing the window i guess, we could use the javascript onclose or something similar but for the user moving away from my website by entering a different URL is what i would like to be able to find out. Thanks, Vinay Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] finding out if a user left our website ?
Have a look at this: https://developer.mozilla.org/en/DOM/window.onunload https://developer.mozilla.org/en/DOM/window.onunloadBut, as someone pointed out a few days ago, please do not post stuff that is not related to PHP DB. On Thu, Aug 26, 2010 at 6:32 AM, Vinay Kannan viny...@gmail.com wrote: Hello Guys, Wanted to know if there is a way for us to find out, when a user moves away from our website( closing the window and entering a different url in the address bar ) closing the window i guess, we could use the javascript onclose or something similar but for the user moving away from my website by entering a different URL is what i would like to be able to find out. Thanks, Vinay
[PHP-DB] Database management
Hello fellow PHPers, Question, 1. Does anyone know of a good Open source MS SQLServer management software for MAC? I have been charged with updating a companies Microsoft SQLServer and I usually work in MySQL. Need a freeware if possible. 2. Is this ok to post here? If it is not, I will never do it again, I swear. :)) Karl DeSaulniers Design Drumm http://designdrumm.com
Re: [PHP-DB] Database management
On Aug 25, 2010, at 19:27, Karl DeSaulniers k...@designdrumm.com wrote: Hello fellow PHPers, Question, 1. Does anyone know of a good Open source MS SQLServer management software for MAC? I have been charged with updating a companies Microsoft SQLServer and I usually work in MySQL. Need a freeware if possible. 2. Is this ok to post here? If it is not, I will never do it again, I swear. :)) Karl DeSaulniers Design Drumm http://designdrumm.com The only freeware one that I can remember is one that was written as a flex app. Can't remember the name, though. Other than that, you could try sourceforge.net for something. Problem is that it being windows based, most people want to charge for it. Bastien Sent from my iPod -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php