473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

determine operating system (or cookie directory)


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
3 5285
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: Kevin A | last post by:
Hi, Is there a way to determine the name and version of the operating system in a portable way? (for Solaris/Linux) Thanks, Kevin
7
by: Ian F. Hood | last post by:
Hi In typically windows environments I have used: if 'Windows' in os.environ... to prove it, but now I need to properly support different environments. To do so I must accurately determine what...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.