Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Check Cookies enabled via JavaScript  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm developing web pages for the browser netscape 4.78.
Now I try to check in my page whether the netscape browser showing the pages has c ookies enabled.
In netscape version 5 and 6 it works in JavaScript via navigator.c ookieEnabled. Is there an equivalent function for netscape version 4.78?

Thanks
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the easiest way of testiung crossbrowser wise is:



Eric
 
Carpe Diem
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric,

it works that way.
Just one remark. To compare by equality that test is stored in the cookie failed because additionaly the jsessionid was also stored in the cookie. Bur checking for test as substring of the cookie contents was successfully.

Thanks again and bye
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cpould just test to see if the length of the cookie is greater then 0 too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!