[Zope] Finding out what Operating System a site visitor is using
   
    Andreas Jung
     
    andreas@andreas-jung.com
       
    Wed, 12 Sep 2001 20:23:28 -0500
    
    
  
This is a multi-part message in MIME format.
------=_NextPart_000_0107_01C13BC8.C83B1DE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The only information about the operating of the client is usually =
included
somewhere in the user agent header (REQUEST['HTTP_USER_AGENT']).
Andreas=20
  ----- Original Message -----=20
  From: Steven Grimes=20
  To: Zope=20
  Sent: Wednesday, September 12, 2001 19:14
  Subject: [Zope] Finding out what Operating System a site visitor is =
using
  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_0107_01C13BC8.C83B1DE0
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The only information about the=20
operating of the client is usually included</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>somewhere in the user agent header =
(REQUEST['HTTP_USER_AGENT']).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Andreas</FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dsgrimes@atinucleus.com =
href=3D"mailto:sgrimes@atinucleus.com">Steven=20
  Grimes</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dzope@zope.org=20
  href=3D"mailto:zope@zope.org">Zope</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, September 12, =
2001=20
  19:14</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] Finding out =
what=20
  Operating System a site visitor is using</DIV>
  <DIV><BR></DIV>
  <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 in the REQUEST object but I can not find a way to print that =
  information on a page.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D879530600-13092001></SPAN></FONT> </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> </DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D879530600-13092001><html></SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D879530600-13092001><body></SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D879530600-13092001>Hello <dtml-var=20
  AUTHENTICATED_USER>! You are running {Operating=20
  System}.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D879530600-13092001></body></SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D879530600-13092001></html></SPAN></FONT></DIV>
  <DIV> </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> </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=20
  color=3D#000000><A=20
  =
href=3D"mailto:sgrimes@atinucleus.com">sgrimes@atinucleus.com</A></FONT><=
/FONT></FONT></DIV>
  <DIV> </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*:=20
  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> </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> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0107_01C13BC8.C83B1DE0--