AW: [Seaside] Browser Information

Jason Johnson jbjohns at libsource.com
Wed Aug 16 17:56:43 UTC 2006


But since the web server is also a smalltalk object, he would have this
information, right?  Seems terribly inefficient to have to generate
javascript to find out the browser when the smalltalk system already
knows what it is talking to.

-----Ursprüngliche Nachricht-----
Von: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] Im Auftrag von
Damien Cassou
Gesendet: Dienstag, 15. August 2006 17:39
An: The Squeak Enterprise Aubergines Server - general discussion.
Betreff: Re: [Seaside] Browser Information

Ramon Leon wrote:
> Hi, wondering if anyone knows how to get at browser info from within 
> Seaside?  In .Net the web server captures a bunch of information in 
> Server.ServerVariables dictionary, most of that stuff I can find in 
> HttpRequest, I can find the referrer, user-agent, and host, but I need

> the screen resolution.  I need to deliver a different css stylesheet 
> depending on the users screen resolution and can't seem to find
anything 
> that'll work.

I don't think navigators return this by default. You might want to ask 
using javascript... just a clue, sorry
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list