[Seaside] Browser Information

Boris Popov boris at deepcovelabs.com
Wed Aug 16 18:04:40 UTC 2006


self session currentRequest headerAt: 'user-agent'

Hope this helps,

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Jason
Johnson
Sent: Wednesday, August 16, 2006 10:57 AM
To: 'The Squeak Enterprise Aubergines Server - general discussion.'
Subject: AW: [Seaside] Browser Information

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

_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060816/1596dbf5/smime.bin


More information about the Seaside mailing list