perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven D. Arnold" <>
Subject RE: more udat persistence issues
Date Sat, 07 Apr 2001 20:32:19 GMT
At 09:59 AM 5/18/2000 +0200, Gerald Richter wrote:<br>
<blockquote type=cite cite>Embperl send a cookie the first time %udat is used and the
browser should<br>
send it back on _every_ request.<br>
One other issuse that could arise is, that the browser send the cookie only<br>
back if the path is the same or below the one where the cookie was send. If<br>
the browser should send back the cookie for the whole site, than you have to<br>
add a<br>
Maybe this is the reason?</blockquote><br>
Thanks for the idea.&nbsp; I've implemented it, and I'm still getting the same result.<br>
I've tried to make the problem as simple as possible.&nbsp; I've written the following
&lt;P&gt;This is a test.&lt;/P&gt;<br>
&lt;P&gt;udat{foo} is [+ $udat{foo} +]&lt;/P&gt;<br>
[- $udat{foo} += 1 -]<br>
The first time this page is loaded, it displays:<br>
is <br>
Reload, and it displays:<br>
is 1<br>
Each subsequent reload increments the value.&nbsp; However, the embperl logs show no indication
of a cookie being received from the browser.&nbsp; This is IE 5.5 on Windows 2000.&nbsp;
The log segment follows:<br>
[609]HDR: 8<br>
[609]HDR: Accept=*/*<br>
[609]HDR: Accept-Language=en-us<br>
[609]HDR: Cache-Control=max-age=259200<br>
[609]HDR: Connection=keep-alive<br>
[609]HDR: Host=<br>
[609]HDR: Pragma=no-cache<br>
[609]HDR: Via=1.0 (Squid/2.0.RELEASE)<br>
[609]HDR: X-Forwarded-For=unknown<br>
The packet capture validates this result:<br>
GET /embperl/foo.shtml HTTP/1.0<br>
Accept: */*<br>
Accept-Language: en-us<br>
Pragma: no-cache<br>
Via: 1.0 (Squid/2.0.RELEASE)<br>
X-Forwarded-For: unknown<br>
Cache-Control: max-age=259200<br>
Connection: keep-alive<br>
HTTP/1.1 200 OK<br>
Date: Thu, 18 May 2000 11:44:49 GMT<br>
Server: Apache/1.3.12(Unix) mod_perl/1.22<br>
Content-Length: 283<br>
Keep-Alive: timeout=15, max=99<br>
Connection: Keep-Alive<br>
Content-Type: text/html<br>
No cookie was either set by the server or sent by the browser.<br>
Interestingly, when I started Netscape 4.71 to try this experiment, when I first loaded the
page, I got &quot;udat{foo} is 3&quot;.&nbsp; Then each time I reloaded, it incremented
from there.&nbsp; Perhaps embperl is using some means other than a cookie to identify
my machine?<br>
What would you say is the next step in debugging this?<br>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message