Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cookie/JServ question

1 view
Skip to first unread message

Annette Strupp-Adams

unread,
Oct 3, 2000, 3:00:00 AM10/3/00
to
Hello,

on an Sun ULTRASparc 60 , Solaris 6, running an Apache Web server
1.3.12,
and JServ 1.1, I am using URL Rewriting in a servlet so that the Web
server
can create a stateful session with the user agent (the Netscape browser)
without the Web server passing a cookie to the browser.

After reading RFC2109 and the cookie specification at:
http://www.netscape.com/newsref/std/cookie_spec.html
I understand that in order for the Apache Web server to pass a cookie to
a browser,
the servlet has to generate it in its "Set-Cookie HTTP Response Header".

I don't see where I am generating it in the servlet, but if I set the
cookies
section in the Netscape browser's preferences to anything but "do not
accept or
send cookies", when I access the servlet, Netscape pops up the cookie
window
asking to set the cookie: JServSessionIdmysection=<an ID>.

Can anyone point me to a source that explains what controls the pop up
window ?
If this is not the appropriate news group, please point out a more
approriate one.
Any input is appreciated.

Thanks,

Annette


--
Annette Strupp-Adams
Senior Systems Analyst
ast...@nlm.nih.gov
phone: (301) 435-3150
National Library of Medicine


Nelson B. Bolyard

unread,
Oct 3, 2000, 3:00:00 AM10/3/00
to
Annette Strupp-Adams wrote:
>
> Hello,
>
> on an Sun ULTRASparc 60 , Solaris 6, running an Apache Web server
> 1.3.12,
> and JServ 1.1, I am using URL Rewriting in a servlet so that the Web
> server
> can create a stateful session with the user agent (the Netscape browser)
> without the Web server passing a cookie to the browser.
>
> After reading RFC2109 and the cookie specification at:
> http://www.netscape.com/newsref/std/cookie_spec.html
> I understand that in order for the Apache Web server to pass a cookie to
> a browser,
> the servlet has to generate it in its "Set-Cookie HTTP Response Header".
>
> I don't see where I am generating it in the servlet, but if I set the
> cookies
> section in the Netscape browser's preferences to anything but "do not
> accept or
> send cookies", when I access the servlet, Netscape pops up the cookie
> window
> asking to set the cookie: JServSessionIdmysection=<an ID>.
>
> Can anyone point me to a source that explains what controls the pop up
> window ?

In the same preferences panel that has the radio buttons that read:
() Accept all cookies
() Accept only cookies that get sent back to the originating server
() Disable cookies

is a checkbox that reads:

[ ] Warn me before accepting a cookie.

If that box is checked, you see the "pop up" to which you referred whenever
the server presents _any_ cookie to the browser for any reason.

If you're seeing the pop-up, your server is indeed setting a cookie.
Since you're using an Apache server, I can't explain why you're getting
that cookie. I don't use Apache servers for obvious reasons.

> --
> Annette Strupp-Adams
> Senior Systems Analyst
> ast...@nlm.nih.gov
> phone: (301) 435-3150
> National Library of Medicine


--
Nelson Bolyard Sun / Netscape Alliance
Disclaimer: I speak for myself, not for Netscape

Annette Strupp-Adams

unread,
Oct 4, 2000, 3:00:00 AM10/4/00
to
"Nelson B. Bolyard" wrote:

Thank you for the info. I'll check the Apache configuration files again to see

where the cookie is being set.

Annette

0 new messages