tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Parker" <t...@econz.co.nz>
Subject RE: Detect Cookie Rejection
Date Tue, 04 Jun 2002 05:10:45 GMT
> Does anyone know of a way to detect when cookies are not accepted
> by a browser.  My site uses session cookies and I'd like to be
> able to redirect people somewhere to tell them that the site
> requires cookies and what to do to activate them...

If a request comes in with one of your pages as it's referer, but no cookie,
then the browser probably doesn't support cookies, or your cookie expired in
the interval.

Of course, some browsers can be configured to omit the referer header, and I
guess some don't support it at all.


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message