7 Mar
2000
7 Mar
'00
6:34 p.m.
Hi, daniel edmond greenlaw wrote:
is it possible to do browser detection with zope? if so, how?
It is definitively not a good idea to rely on browser detection for you pages. Especially if you dont already know how to do it. Try to make your HTML-code not so special to let it work for all browsers (you cant know how to handle the specific of all the browsers available). But, if you really cant live without it (please overthing it more than twice!) REQUEST['HTTP_USER_AGENT'] is your friend, together with various string-operations. Please note: you cant be sure if this field is set and tells you the truth about the partcular user-agent. best regards, Tino Wildenhain