tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Crase <simon.cr...@invetech.com.au>
Subject RE: Detect Cookie Rejection
Date Tue, 04 Jun 2002 05:44:57 GMT
First page of application can contain some HTML warning them that they need
both JavaScript & cookies.  You have an onLoad that triggers function to
check for cookies then redirect to your first "real" page.  Then if
JavaScript or cookies disabled, they don't get directed and see your message
instead.

Cheers,


Simon

>-----Original Message-----
>From: Phillip Morelock [mailto:subscriptions@phillipmorelock.com]
>Sent: Tuesday, 4 June 2002 3:11 PM
>To: Tomcat Users List
>Subject: Re: Detect Cookie Rejection
>
>
>what if they have cookies and javascript disabled?
>
>with one comes the other, often.
>
>fillup
>
>
>On 6/3/02 10:04 PM, "Simon Crase" <simon.crase@invetech.com.au> wrote:
>
>> Have you thought about using JavaScript for this?  My copy 
>of the Rhinoceros
>> book is at home, but I know you can read & write cookies:  
>what happens if
>> you try this with cookies disabled I don't know, but I 
>imagine you should be
>> able to detect the condition easily.  (E.g try to set cookie 
>"foo" to "bar"
>> then read value back).
>> 
>> 
>> Cheers,
>> 
>> 
>> Simon
>> 
>> 
>> 
>>> -----Original Message-----
>>> From: Cavan Morris [mailto:cavan.morris@worldnet.att.net]
>>> Sent: Tuesday, 4 June 2002 2:42 PM
>>> To: tomcat-user@jakarta.apache.org
>>> Subject: Detect Cookie Rejection
>>> 
>>> 
>>> 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...
>>> 
>>> I'm sure that someone else has already solved this problem. 
> Any ideas?
>>> 
>>> Cavan Morris
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:
>>> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>> For additional commands, e-mail:
>>> <mailto:tomcat-user-help@jakarta.apache.org>
>>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
> 


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


--
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