By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,106 Members | 2,679 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,106 IT Pros & Developers. It's quick & easy.

determine operating system (or cookie directory)

P: n/a

Hello,

I want te determine the client operating system, because I need to kno
the default cookie directory. If there is a way to determine the cooki
directory directly, than it is also good.

the used OS te determine are:
win 95, win 98, win ME, win XP, win NT

Thanks for help,

Luc Pustjen

lucpustjen
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message34507.htm

Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #2

P: n/a
On Mon, 19 Jan 2004 08:19:19 -0600, in comp.lang.javascript
lucpustjens <lu****************@mail.forum4designers.com> wrote:
| Hello,
|
| 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


Why do you need access to the cookie folder?
It wouldn't help you on my system because I change the location of
where the cookies are stored.
---------------------------------------------------------------
jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
Jul 20 '05 #3

P: n/a
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
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.