Need to break a while..
am 10.09.2007 17:57:28 von Sonnich Jensen
Hi!
I have a page, including a while, which can read quite an amount of
data, if the user selects so.
I want to add something, so I can break this while - I havent found it
yet.
I have tried connection_aborted and connection_status, but they do not
do the trick.
I'd like:
1) to stop it, when the user clicks on a link, so it goes to the new
page, and stops it present action
2) eventually to add a "Stop" button on the page - any ideas how to
achive that?
BR
Sonnich
Re: Need to break a while..
am 10.09.2007 18:09:16 von zeldorblat
On Sep 10, 11:57 am, Sonnich Jensen
wrote:
> Hi!
>
> I have a page, including a while, which can read quite an amount of
> data, if the user selects so.
> I want to add something, so I can break this while - I havent found it
> yet.
>
> I have tried connection_aborted and connection_status, but they do not
> do the trick.
>
> I'd like:
>
> 1) to stop it, when the user clicks on a link, so it goes to the new
> page, and stops it present action
> 2) eventually to add a "Stop" button on the page - any ideas how to
> achive that?
>
> BR
> Sonnich
When the browser makes a new request before the current one is
finished the default behavior is for PHP to abort the script. It
sounds like that's what you want, no?
Re: Need to break a while..
am 11.09.2007 15:25:31 von Sonnich Jensen
On Sep 10, 7:09 pm, ZeldorBlat wrote:
> On Sep 10, 11:57 am,SonnichJensen
> wrote:
>
> > I have a page, including a while, which can read quite an amount of
> > data, if the user selects so.
> > I want to add something, so I can break this while - I havent found it
> > yet.
>
> > I have tried connection_aborted and connection_status, but they do not
> > do the trick.
>
> > I'd like:
>
> > 1) to stop it, when the user clicks on a link, so it goes to the new
> > page, and stops it present action
> > 2) eventually to add a "Stop" button on the page - any ideas how to
> > achive that?
>
> When the browser makes a new request before the current one is
> finished the default behavior is for PHP to abort the script. It
> sounds like that's what you want, no?- Hide quoted text -
I solved the problem with an
Re: Need to break a while..
am 11.09.2007 18:35:43 von ELINTPimp
On Sep 11, 9:25 am, Sonnich Jensen
wrote:
> On Sep 10, 7:09 pm, ZeldorBlat wrote:
>
>
>
> > On Sep 10, 11:57 am,SonnichJensen
> > wrote:
>
> > > I have a page, including a while, which can read quite an amount of
> > > data, if the user selects so.
> > > I want to add something, so I can break this while - I havent found it
> > > yet.
>
> > > I have tried connection_aborted and connection_status, but they do not
> > > do the trick.
>
> > > I'd like:
>
> > > 1) to stop it, when the user clicks on a link, so it goes to the new
> > > page, and stops it present action
> > > 2) eventually to add a "Stop" button on the page - any ideas how to
> > > achive that?
>
> > When the browser makes a new request before the current one is
> > finished the default behavior is for PHP to abort the script. It
> > sounds like that's what you want, no?- Hide quoted text -
>
> I solved the problem with an
Re: Need to break a while..
am 12.09.2007 13:44:54 von Sonnich Jensen
On Sep 11, 7:35 pm, ELINTPimp wrote:
> On Sep 11, 9:25 am,SonnichJensen
> wrote:
>
>
>
>
>
> > On Sep 10, 7:09 pm, ZeldorBlat wrote:
>
> > > On Sep 10, 11:57 am,SonnichJensen
> > > wrote:
>
> > > > I have a page, including a while, which can read quite an amount of
> > > > data, if the user selects so.
> > > > I want to add something, so I can break this while - I havent found it
> > > > yet.
>
> > > > I have tried connection_aborted and connection_status, but they do not
> > > > do the trick.
>
> > > > I'd like:
>
> > > > 1) to stop it, when the user clicks on a link, so it goes to the new
> > > > page, and stops it present action
> > > > 2) eventually to add a "Stop" button on the page - any ideas how to
> > > > achive that?
>
> > > When the browser makes a new request before the current one is
> > > finished the default behavior is for PHP to abort the script. It
> > > sounds like that's what you want, no?- Hide quoted text -
>
> > I solved the problem with an