Re: Knowing when a user leaves a page
| From: | Jason Cox | Date: | Sun, 20 Aug 2000 00:09:43 +0000 |
| Subject: | Re: Knowing when a user leaves a page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12620@lists.php.net to get a copy of this message | ||
Well, I suppose you could use JavaScript to open a new window when they
leave the site and have it load a PHP page that records the exit but you run
the risk of making visitors angry.
Jason
> Hello all,
>
> I have a the following situation:
>
> - I have build up an marketplace-system wich needs to know, when a user
> enters or leaves a page of the system ( to build up a site-walk-track).
> This is no problem, if the user changes pages on the system (I can use
> the Environment-Variable HTTP_REFERER ans sessions to keep track of his
> site-walking) but i have a problem, when he leaves the site (by going to
> another site or terminate his connection).
>
> So my question is the following:
>
> Is it possible to get informations, when a page is no longer accessed by
> the user (javascript ?) ?
>
>
> cu
> Martin
>
>
> --
> --------------
> Martin Neimeier
> Tel:+49(6262)912344 Fax:+49(6262)912347
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net