<!--#include virtual="header.html" -->
<H1>Apache Server Frequently Asked Questions</H1>
<P>
-$Revision: 1.24 $ ($Date: 1997/04/15 21:17:46 $)
+$Revision: 1.25 $ ($Date: 1997/04/18 20:42:19 $)
</P>
<P>
Throughout the text of this FAQ you may find numbers enclosed in
<LI><A HREF="#setgid">Why do I get "setgid: Invalid
argument" at startup?</A>
</LI>
+ <LI><A HREF="#cookies1">Why does Apache send a cookie on every response?</A>
+ </LI>
+ <LI><A HREF="#cookies2">Why don't my cookies work, I even compiled in
+ mod_cookies?</A>
+ </LI>
</OL>
</LI>
<LI><A
</P>
<HR>
</LI>
+ <LI><A NAME="cookies1">
+ <STRONG>Why does Apache send a cookie on every response?</STRONG></A>
+ <P>
+ Apache does <i>not</i> send automatically send a cookie on every
+ response, unless you have re-compiled it with the
+ <A
+ HREF="../mod/mod_cookies">mod_cookies</A><A
+ HREF="#References">[22]</A></SAMP> module.
+ This module was distributed with Apache prior to 1.2.
+ This module may help track users, and uses cookies to do this. If
+ you are not using the data generated by mod_cookies, do not compile
+ it into Apache. Note that in 1.2 this module was renamed to the
+ more correct name
+ <A
+ HREF="../mod/mod_usertrack">mod_usertrack</A><A
+ HREF="#References">[23]</A></SAMP>, and cookies
+ have to be specifically enabled with the <SAMP>
+ <A
+ HREF="../mod/mod_usertrack#cookietracking">CookieTracking</A><A
+ HREF="#References">[24]</A></SAMP>
+ directive.
+ </P>
+ <HR>
+ </LI>
+ <LI><A NAME="cookies2">
+ <STRONG>Why don't my cookies work, I even compiled in mod_cookies?
+ </STRONG></A>
+ <P>
+ Firstly, you do <i>not</i> need to compile in mod_cookies in order
+ for your scripts to work (see <A HREF="#cookies1">this question</A>
+ for more about mod_cookies). Apache passes on your Set-Cookie header
+ fine, with or without this module. If cookies do not work it will
+ be because your script does not work properly or your browser does
+ not use cookies or is not set-up to accept them.
+ </LI>
</OL>
<HR>
<A NAME="References">
<DD><A
HREF="http://www.apache.org/docs/mod/core.html#group"
>http://www.apache.org/docs/mod/core.html#group</A>
+ <DT>[22]
+ </DT>
+ <DD><A
+ HREF="http://www.apache.org/docs/mod/mod_cookies"
+ >http://www.apache.org/docs/mod/mod_cookies</A>
+ </DD>
+ <DT>[23]
+ </DT>
+ <DD><A
+ HREF="http://www.apache.org/docs/mod/mod_usertrack"
+ >http://www.apache.org/docs/mod/mod_usertrack</A>
+ </DD>
+ <DT>[24]
+ </DT>
+ <DD><A
+ HREF="http://www.apache.org/docs/mod/mod_usertrack#cookietracking"
+ >http://www.apache.org/docs/mod/mod_usertrack#cookietracking</A>
</DD>
</DL>
<!--#include virtual="footer.html" -->