how about trying something simple like.


<html>
<head><title>testing</title></head>
<body>
<h2>This is my counter:
[+ $udat{COUNTER}++ +]
</h2>
</body>
</html>

use your browser to view the page.
keep hitting reload - counter should increase.

cliff rayman
genwax.com

Andre Landwehr wrote:

> On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote:
> > i am using embperl with cookies.
> > i also have this set in httpd.conf
> >
> > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com
> > PerlSetEnv EMBPERL_COOKIE_PATH /
> > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT'
> >
> > how are you checking to make sure cookies are sent?
> >
> > lwp-request -e 'http://www.domain.com/path/to/page/with/embperl|less
> >
> > You should see a SET-COOKIE header.
>
> I inserted those lines above into my httpd.conf, and did the
> lwp-request. All headers I do see are the following:
> ----------------
> Connection: close
> Date: Thu, 13 Jan 2000 14:39:53 GMT
> Server: Apache/1.3.9 (Unix) mod_perl/1.21 PHP/3.0.12
> Content-Type: text/html
> Client-Date: Thu, 13 Jan 2000 14:39:53 GMT
> Client-Peer: 145.228.112.103:80
> Title: sessiontest 1
> ----------------
>
> Can you please send me a simple testpage for this, maybe I do
> something wrong in my embperl code... I have only begun with perl
> 6 weeks ago or so and I still have not understood all mystiques
> ;-)
>
> Take care,
> Andre

Reply via email to