Thanks Rosdi for your help. The problem is that I can't access to this cookie in the servlet. I want people to execute the servlet only once. The servlet saves data (language, browser,...) in the database in order to count the visitors. The problem is that some browsers send several get HTTP-requests to get a HTML page. Then, the servlet is executed several times and there is multiple entries for some visitors. Does someone has an idea? Thank you, Rosdi Sedi a écrit : > Use javascript to implement cookie instead, it will work. The downside is, > you have to restrict your system (or whatever you call it) for browsers that > support javascript only. > > Rosdi. > > ----- Original Message ----- > From: Bruno Chevalier <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 07, 1999 10:28 PM > Subject: cookie with jsdk1.0 ? > > > Hello, > > > > Is there a way to implement cookies with jsdk1.0? > > I work with Lotus Go Web Server and I have some problems with servlets. > > Some web browser send multiple GET-HTTP requests (to get a page, > > sometimes 5 GET are send...) and my servlet is executed several times. > > As it is used to count the number of hits, it does not work. > > I would like to use cookie ou session to track users. > > Any idea? > > > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
begin:vcard n:Chevalier;Bruno tel;fax:(33) 1 43 46 37 38 tel;work:(33) 1 43 46 37 37 x-mozilla-html:FALSE org:Marketing Process & Networks adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] title:Developer of <a href="http://212.37.192.55">galeriegaultier</A> note:Developer of <a href="http://www.galeriegaultier.com">galeriegaultier.com</A><br>the web shop of Jean Paul Gaultier x-mozilla-cpt:;-14016 fn:Bruno Chevalier end:vcard