RE: How does Tomcat detect whether a browser accepts cookies

2006-06-22 Thread GB Developer
Sent: Thursday, June 22, 2006 12:50 PM > To: Tomcat Users List > Subject: Re: How does Tomcat detect whether a browser accepts cookies > > > You could use the session id location as an indicator, > assuming there's a session already. > > if (hreq.isRequeste

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-22 Thread Pid
>>>>>>> On Wed, 21 Jun 2006, Martin Gainty wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> G

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
>>> > >>>>>> Unfortunately that wont work if your Browser disallows cookies > >>>>>> If its IE > >>>>>> Check out the IE options- > >>>>>> > >>>>>> Tools > >>>>>> In

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Smith
PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 21, 2006 12:50 PM Subject: Re: How does Tomcat detect whether a browser accepts cookies Leon - Thank you for your response, but I don't understand it. I have a key question: how does Tomcat de

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Garey Mills" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesd

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
s > >>>>Internet Options > >>>>Privacy > >>>>Advanced > >>>>look at "switched on Always allow Session Cookies" > >>>> > >>>>HTH, > >>>> > >>>>Martin -- > >>>>**

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
st" Sent: Wednesday, June 21, 2006 12:50 PM Subject: Re: How does Tomcat detect whether a browser accepts cookies Leon - Thank you for your response, but I don't understand it. I have a key question: how does Tomcat detect that a browser does not accept cook

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
fy > >>the sender immediately by telephone or email and destroy the original > >>message without making a copy. Thank you. > >> > >> > >> > >>- Original Message - > >>From: "Garey Mills" <[EMAIL PROTECTED]> > &g

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
al Message - From: "Garey Mills" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 21, 2006 12:50 PM Subject: Re: How does Tomcat detect whether a browser accepts cookies Leon - Thank you for your response, but I don't understand it. I have

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
received this email message in error, please notify > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > - Original Message - > From: "Garey Mills" <[EMAIL PROTECTED]> > To: &

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Martin Gainty
ge without making a copy. Thank you. - Original Message - From: "Garey Mills" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 21, 2006 12:50 PM Subject: Re: How does Tomcat detect whether a browser accepts cookies > Leon - >

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread Garey Mills
Leon - Thank you for your response, but I don't understand it. I have a key question: how does Tomcat detect that a browser does not accept cookies? There are a number of different ways to detect it inside my application, but all of them seem to need a roundtrip to the

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-20 Thread Leon Rosenberg
You could check for your cookie in first request and if not present just set the cookie in the request and redirect to another page which reads the cookie (btw, it can also be done with javascript without user-visible-reload). The difference to your approach that each user will be redirected exa

How does Tomcat detect whether a browser accepts cookies

2006-06-20 Thread Garey Mills
Hi - I have an application that does not work correctly when the browser does not accept cookies. I added some code that rewrites the query string the first time the app is entered to include a new parameter and then redirects to the app. I watch for that parameter and if I find it I check