Thanks Lutz,
but could you test if the cookie is persistent?
if the cookie still exists after quitting and restarting the browser
-----Original Message-----
From: Lutz Steinborn [mailto:[EMAIL PROTECTED]]
Sent: jeudi, 12. juillet 2001 17:20
To: Gilles Poidevin
Cc: [EMAIL PROTECTED]
Subject: Re: [Webware-discuss] cookie webkit (again)
Hello,
works ok with:
Apache 1.3.19 on Linux Kernel 2.4.4/SMP/mod_webkit/
With Browsers:
Opera 5.0 Linux
Opera 5.11 Win98
Netscape 4.77 Linux
Netscape 4.74 Win98
Netscape 6.0 Win98
IE 5.50 Win98
So it lookes like a problem on IIS5.
Best regards
Lutz Steinborn
On Thu, 12 Jul 2001 16:31:45 +0200
"Gilles Poidevin" <[EMAIL PROTECTED]> wrote:
> I'm sorry to disturb you again with my cookie problem on IIS5 and
webkit
> but, does somebody can test this script on its configuration?
> I'd like to know if the problem is WebKit or the association of IIS5
and
> WebKit.
> The script is very standard and it uses the webkit classes:
>
> from WebKit.Page import Page
> from WebKit.Cookie import Cookie
> from time import *
>
> class CookieSessionTest(Page):
>
> def writeBody(self):
>
> if self.request().hasCookie('firstVisit'):
> firstVisit = self.request().cookie('firstVisit')
> self.writeln( "You've been here the first time at : %s <br>" %
> firstVisit )
> else:
> firstVisit = asctime(localtime(time()))
> C = Cookie('firstVisit',firstVisit)
> C.setPath('/')
> C.setMaxAge(86400)
> C.setVersion(1)
> self.response().addCookie(C)
> self.writeln( "Welcome, this is your <font color=green>first
> visit</font> <b>a cookie is stored on your computer</b>. It's now :
%s
> <br>" % firstVisit )
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-discuss
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss