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
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
Thank you for the info. I'll check the Apache configuration files again to see
where the cookie is being set.
Annette