What about using an html include, for example, would the session-cookie travel with a request for a JS file?
I use Witango to generate JS on the fly, so I fetch that file after I fetch the initial page. The process: First Hit to abc.taf No User Vars found - might be new user, might be non-session-cookie-user Add JS request to top of abc.taf User receives abc.taf response along with session-cookie User's browser fetches js.taf as requested in abc.taf's head. (I do not know if this request would carry the session-cookie - but it should) js.taf is requested: IF user scope/var found reply nothing - JS does nothing ELSE user scope/var empty non-session-cookie-user - JS popup warning Done. I have no idea if that might work, but that would be my starting premise to solve your issue. Scott might also be able to add (or remove) from this. Robert -----Original Message----- From: Roland Dumas [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 2:30 PM To: [email protected] Subject: Re: Witango-Talk: Detecting the cookie-averse On 3/18/05 11:05 AM, "Scott Cadillac" <[EMAIL PROTECTED]> wrote: > Hi Roland, > >> 1. I'm glad we're on the same page (pun intended) :-) > >> 2. It is possible to devise some trick of jumping between specific pages > for a test. Following is one simple example. ... > > Maybe what you should do is set a cookie on all your pages (except the > critical ones) that says "roland=niceguy", and for your critical > applications - just don't allow the app to run if the "roland" cookie is > missing. ... If witango sets a cookie at the beginning of a request cycle, witango believes that cookie has been set, and later on in the cycle 'reads' it, even though it hasn't been accepted by the browser. That's reasonable, since in that request cycle, there isn't any conversation with the browser. Guessing there isn't a way to detect the cookie refusal, except maybe by a javascript in the html that reads the cookie and if missing, gives an alert or something. ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
