Michael Winter wrote:
On Mon, 19 Jan 2004 08:19:19 -0600, lucpustjens
<lu****************@mail.forum4designers.com> wrote:
I want te determine the client operating system, because I need to know
the default cookie directory. If there is a way to determine the cookie
directory directly, than it is also good.
the used OS te determine are:
win 95, win 98, win ME, win XP, win NT
Knowing my OS version won't help you find the cookies on my computer; I
don't use IE.
Why do you need to know this?
Mike
Actually, even if someone knew the OS I was using, and was aware that I was
using Internet Explorer, I can change my Cookie directory by adjusting the
following Registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell
Folders\Cookies
which would require you having access to my Registry to determine, something
I'm not going to do.
The proper way to access cookies using client-side JavaScript is by using
document.cookie, where and how the browser chooses to store this information
is irrelevant, and quite frankly, none of your business.
See <url:
http://jibbering.com/faq/#FAQ4_4 /> for information on determining
via client-side JavaScript whether a browser accepts cookies.
--
| Grant Wagner <gw*****@agricoreunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
*
http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
*
http://www.mozilla.org/docs/web-deve...upgrade_2.html