>>> Prakash Sandeep <[EMAIL PROTECTED]> 04-Jul-00 12:52:53 PM >>>
>Question
>Q1...Can a two cookie be created by same name in
>a single servlet  ?
>Q2...Can a two cookie be created by same name in a
>different  servlet deployed on same web server ?

What is "a two cookie"?

Do you mean can cookies be duplicated?

If so the answer is no.

Cookies are refered to by name, if 2 servlets refer to a single
cookie (or 1 servlet refers to it twice) the cookie will carry the
value of the last reference.


Nic Ferrier

___________________________________________________________________________
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

Reply via email to