----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I don't think so - the setDomain() would be used only if I were explicitly
building the cookie; it's a method of the Cookie class itself..  However,
Jserv itself is creating and maintaining the cookie in order to handle
session mgmt.

-----Original Message-----
From: Mike Engelhart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 2:30 PM
To: Java Apache Users
Subject: Re: Session vanishes thru firewall / works on intranet

Crook, Charles wrote:

> Is there a way to tell Jserv which domain to use when it builds its
cookies
> for session mgmt?  The firewall custodians tell me that is the problem.

>From the servlet API:

> public void setDomain(java.lang.String pattern)
> 
> Specifies the domain within which this cookie should be presented.
> The form of the domain name is specified by RFC 2109. A domain name begins
> with a dot (.foo.com) and means that the cookie is visible to servers in a
> specified Domain Name System (DNS) zone (for example, www.foo.com, but not
> a.b.foo.com). By default, cookies are only returned to the server that
sent
> them.
> 
> Parameters:
> pattern - a String containing the domain name within which this cookie is
> visible; form is according to RFC 2109
> See Also: 
> getDomain()
> 

Is this what you're looking for?





--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to