If you mean the actual location of the cookie on the browsing (UserAgent)
computer.. then you can't.

This is implemented by the individual browser. There's no way to specify a
particular cookie path... I guess the browser makers and the W3C thought
that i wouldn't be a good idea to allow site operators to save their cookies
to io.sys, msdos.sys, boot.ini or whatever - nice idea though ;)

If you mean cookie paths relative to the server locations - have a look at
Cookie.setPath() and Cookie.setDomain()

Regards,
John Gunning

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Sankowitz
Sent: Thursday, 15 March 2001 7:49 AM
To: [EMAIL PROTECTED]
Subject: session and connection pooling questions


when HttpSession sets the session cookie what is the default setting for the
path of the cookie? how do i change this?

also, any suggestions for some database drives that support connection
pooling, or is this built into jdbc?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to