perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <jos...@chamas.com>
Subject Re: Long application.Session timeouted.
Date Wed, 20 Jun 2001 16:29:35 GMT
Landin Nikolay wrote:
> 
> Hi, all
> I have a problem.
> I am using Apache::ASP module.

There is a new Apache::ASP mailing list.  You can subscribe
to it at asp-subscribe@perl.apache.org

> When I try to do a long process - the client page write "Page not found"
> after some period.
> 
> How can I to tell client, that server application is still working?
> 

If you really need to keep the client busy, then try a 
  $Response->Write("\n"); $Response->Flush;
The web browser just needs to see something from time
to time.

> May be - I must just change some Session variables?
> 

No, this is all server side.

If its a long job, like a big SQL command being executed
then you might have to take a different approach because
your process will lock waiting for the SQL command execute
to return.  In this case you might try forking a job into 
the background and waiting for its results.  You might
also try something like a meta refresh on itself, and 
keep checking for whether the job is done.

-- Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks <- Web Link Checking          Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message