[Zope] Finding out what Operating System a site visitor is using

Steven Grimes sgrimes@atinucleus.com
Wed, 12 Sep 2001 19:14:35 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0051_01C13BBF.2908F610
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I need to find out what operating system my clients are using. I know this
information is available in the REQUEST object but I can not find a way to
print that information on a page.

For example:

<html>
<body>
Hello <dtml-var AUTHENTICATED_USER>! You are running {Operating System}.
</body>
</html>

I would like the Zope syntax to print the actual operating system used in
the statement above.

Thanks in advance,
Steven Grimes
Database Engineer
sgrimes@atinucleus.com

Accelerated Technology, Inc.
720 Oak Circle Drive East
Mobile, AL 36609
TEL*: 251-661-5770
FAX*: 251-661-5788
www.acceleratedtechnology.com
*Please note new area code "251"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Over Ten Years of Providing Embedded Solutions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



------=_NextPart_000_0051_01C13BBF.2908F610
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D879530600-13092001>I need =
to find out=20
what operating system my clients are using. I know this information is =
available=20
in the REQUEST object but I can not find a way to print that information =
on a=20
page.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D879530600-13092001>For=20
example:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001>&lt;html&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001>&lt;body&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D879530600-13092001>Hello =
&lt;dtml-var=20
AUTHENTICATED_USER&gt;! You are running&nbsp;{Operating=20
System}.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001>&lt;/body&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001>&lt;/html&gt;</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D879530600-13092001></SPAN><FONT face=3DArial =
size=3D2>I<SPAN=20
class=3D879530600-13092001> would like the Zope syntax to print the =
actual=20
operating system used in the statement above.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D879530600-13092001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DArial>Thanks<SPAN =
class=3D879530600-13092001> in=20
advance</SPAN>,<BR>Steven Grimes<BR>Database Engineer<BR><FONT =
color=3D#000000><A=20
href=3D"mailto:sgrimes@atinucleus.com">sgrimes@atinucleus.com</A></FONT><=
/FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Accelerated Technology, Inc.<BR>720 Oak =
Circle=20
Drive East<BR>Mobile, AL 36609<BR>TEL*: 251-661-5770<BR>FAX*: =
251-661-5788<BR><A=20
href=3D"http://www.acceleratedtechnology.com/">www.acceleratedtechnology.=
com</A><BR>*Please=20
note new area code "251"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Over Ten Years of Providing Embedded=20
Solutions</FONT></DIV>
<DIV><FONT size=3D2><FONT=20
face=3DArial>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT><BR></FONT></DIV>=

<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0051_01C13BBF.2908F610--