Well look at that. Check out this one too:
"window.onbeforeunload"
http://www.hunlock.com/blogs/Mastering_The_Back_Button_With_Javascript
> -----Original Message-----
> From: kesavan trichy rengarajan [mailto:k7@trk7.com]
> Sent: Wednesday, August 25, 2010 2:54 PM
> To: Vinay Kannan
> Cc: PHP DB
> Subject: 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.onunload>But, 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
> <vinykan@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
> >
>
|