RE: [PHP] Re: close the browser
| From: | hadi | Date: | Wed, 25 Jun 2014 00:12:26 +0000 |
| Subject: | RE: [PHP] Re: close the browser | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323549@lists.php.net to get a copy of this message | ||
> lol, tell us how you really feel!
By the way I got unsubscribe email.
> On 06/24/2014 01:13 PM, Shawn McKenzie wrote:
> > DELETE FROM
Attachment: [application/pkcs7-signature] smime.p7s
php-general WHERE
> > from = 'hadi' OR from =
> > 'almarzuki2011@ hotmail.com'
>
> lol, tell us how you really feel!
>
> >
> >
> > 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
> >>
> >>
> >
>
>
> --
> Jim Lucas
>
> http://www.cmsws.com/
> http://www.cmsws.com/examples/
>
> --
> PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
Attachment: [application/pkcs7-signature] smime.p7s