At 06:04 AM 5/2/2000 +0200, Gerald Richter wrote:

>I agree to you that there is no reason to not include it in Embperl, other
>than the time it takes to do so. I put it on the TODO list (but there are
>already I lot of things todo). Anyway you are free to send me a patch and I
>will be happy to include it in Embperl.

*nod*  EmbPerl is a great tool overall; given that I have a cookie 
workaround, my concern is merely a minor complaint.  Nevertheless, your 
point about making a patch is well taken; I'll do that.


> >Also, I have noticed that when I restart apache, usually EmbPerl will not
> >run any scripts I have been working on; when I connect to the server, it
> >sits there forever and the script never runs, or at least never returns a
> >result to the browser.  However, as soon as I make a change to the script
> >and save, the script will run.  This sounds like a caching bug.  The
> >obvious workaround is to re-save the file.
>
>Steven, which version of Embperl you are using? There is no caching bug in
>the current version of Embperl. There must be another reason for this strang
>behaviour.

I am not in a place where I can ssh to the machine on which I was having 
the problem, so I will followup to this post tomorrow with a more confident 
answer.  However, I thought I was using the latest stable version, 1.2.1.


>Looks like more to me, that your code needs a recompile before it could run
>correctly after a restart.
>
>Please try to put various
>
>[- warn "text" ; -]
>
>in your script, to see if it ever get called or where it stops working.
>
>Is this first request a POST request? Does it involve CGI.pm?

No, not a POST; the URL was of the form:

         http://aaa.bbb.ccc.ddd/embperl/login.html

It did involve CGI.pm; CGI.pm's sole function in the script is to fetch the 
user's cookie.  It was a login script that would check to see if you have a 
valid cookie which would authenticate you; if so, it would send you to the 
search page, else it would ask you to log in.


steve


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to