Re: Re: close the browser
| From: | Aziz Saleh | Date: | Sun, 29 Jun 2014 05:26:52 +0000 |
| Subject: | Re: Re: close the browser | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323555@lists.php.net to get a copy of this message | ||
On Sat, Jun 28, 2014 at 12:18 PM, tim@weberpafrica.com <tim@weberpafrica.com
> wrote:
> On 24 June 2014 21:13, Shawn McKenzie <shawn@mckenzies.net> wrote:
> > DELETE FROM
php-general WHERE
> > from = 'hadi' OR from =
> 'almarzuki2011@
> > hotmail.com'
> >
> >
> > On Tue, Jun 24, 2014 at 2:14 PM, Jim Giner <jim.giner@albanyhandball.com
> >
> > wrote:
> >
> >> On 6/24/2014 2:53 PM, Tim Streater wrote:
> >>
> >>> On 24 Jun 2014 at 17:43, Stuart Dallas <stuart@3ft9.com> wrote:
> >>>
> >>> I'm yet to hear of a legitimate reason to want some PHP to execute
> when
> >>>> a user closes the browser, so chances are there's a better way to
> achieve
> >>>> what he actually wants.
> >>>>
> >>>
> >>> I use that in my app. If the user has been typing into an editing
> window,
> >>> and
> >>>
> >> then closes the browser window, they will expect that what they typed
> will
> >> show
> >> up again when they restart the app. I use the onbeforeunload event in
> the
> >> browser to handle this, along with a (rare) synchronous
> >> ajax request to run a PHP termination script.
> >>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers -- Tim
> >>>
> >>> Really - you expect something that was being typed just before closing
> >> to be (magically?) present when you re-open the browser to that page?
> >>
> >> I would never expect something like to occur in any kind of computer
> >> application that (most likely) has procedures to be followed to properly
> >> use that page and save that data before closing it. Failure to follow
> the
> >> rules and an abrupt closure of the page/browser should not retain
> whatever
> >> I was doing and I can't fault it.
> >>
> >> Granted - you are doing this for you appls. but the mere fact that you
> >> have done so surprises me. I would never think to provide that service
> on
> >> my appls.
> >>
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
>
> Shawn,
>
> Please do not top post to this list.
>
> Cheers
> Tim
>
> --
> Course View Towers,
> Plot 21 Yusuf Lule Road,
> Kampala
> T +256 (0) 312 314 418
> M +256 (0) 752 963 325
> www.weberpafrica.com
> @TimSchofield2
> Blog: http://weberpafrica.blogspot.co.uk/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
UPDATE php-general SET status = 'deleted', reason=
'top_posting'
WHERE from = 'Shawn' OR from = 'shawn@mckenzies.net'