[Zope] Zope et navigator.platform

Antonio Carrasco antoniojezu@hotmail.com
Tue, 5 Feb 2002 13:41:09 +0100


Itīs not a zopish way, but it works for me.
<dtml-var "_.string.split(REQUEST.HTTP_USER_AGENT,';')[-1][:-1]">

Regards.
Antonio Carrasco

----- Original Message -----
From: "Pascal Samuzeau" <samuzeau@oreka.com>
To: <zope@zope.org>
Sent: Tuesday, February 05, 2002 11:18 AM
Subject: [Zope] Zope et navigator.platform


> Hello,
>
> For some programs I need to know in which platform the client works.
>
> I did, until now, with the Javascript code : navigator.platform, to
> have the knowledge.
>
> I want to do the same under Zope, but without, if it's possible, to
> ask the client with Javascript.
>
> In Zope we have HTTP_USER_AGENT
> I've tried HTTP_UA_OS, but nothing return !!
>
> Anybody knows how to do it ?
>
> Sincerily
>
> PS
> --------------------------------------------------
> Oreka ! Nous sommes l'internet moins cher !
> Surfez 25% moins cher avec http://www.oreka.com
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>