Well 2 things:

1. I feel that getSessionCookieName() is a necessary
addition. It just seemed a natural if not required to
add setSessionCookieName(String).

2. Secondly, I need to know what the session cookie
name is my application because I have an applet
communicating with a servlet and I need to set the
session in the header, the format of which is the
session cookie name and the session id.

//Nicholas


--- Jim Richards <[EMAIL PROTECTED]> wrote:
> Can I ask why you want to set the name, unless you
> want to
> extract it with JavaScript or something else, there
> should be
> no need to get the name of the cookie, only what it
> points to ...
>
> At 06:38 AM 6/12/99 -0800, Nicholas Whitehead wrote:
> >Can anyone suggest a reliable method for
> determining a
> >servlet engine's session cookie name ? I am writing
> >what needs to a be a portable servlet and I need to
> >determine the session cookie name which appears to
> >vary according to vendor. My current servlet runner
> >taht I use to debug uses "SESSION-ID" where as JRun
> >uses "jrunsessionid".
> >
> >I am starting to feel that the API needs two new
> >methods:
> >
> >String getSessionCookieName()
> >void setSessionCookieName(String cookieName)
> >
> >Any ideas ?
> >
> >Nicholas
>
>
> --
> two new projects from Mr Grumpy and friends ...
>   *  A Story in Two Voices - Hypertext fiction
>
>
http://www.cyber4.org/members/grumpy/special/wnm/index.html
>   *  yum! - Information Architecture example site
>
>
http://www.cyber4.org/members/grumpy/special/yum/index.html
>
>
___________________________________________________________________________
> 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
>


=====
--
Nicholas Whitehead
Marketwide Software & Consulting Inc.
[EMAIL PROTECTED]
Home: 973 377 9335
Current Office: 212 559 9314
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

___________________________________________________________________________
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