Forums Register Login

Cookies Enabled Flag ?

+Pie Number of slices to send: Send
Hi Folks,
Does anyone out there know if there is anything in the HTTP request and Servlet API that defines if cookies are available up front ?
The problem is that if I set a cookie I have to wait until the next request to determine if it worked which is too late.
Cheers
JonK
+Pie Number of slices to send: Send
Not that I am aware of. You just have to try to get the cookies and see if there is any. i.e The cookie array returns zero length.

Bosun
And then the flying monkeys attacked. My only defense was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 625 times.
Similar Threads
How to hide the jsessionid id in my address bar in servlet programming
he doesn't ask for authenticate
Session without Cookie
Persistent Cookies in Servlets
Cookie
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:18:34.