RE: ASERVE: accessing request-header-user-agent, how to
"Greger Lindell" <[email protected]> Fri, 25 Jul 2008 16:39:14 +0200
| Newsgroups | gmane.lisp.open-source.franz |
|---|---|
| Message-ID | <[email protected]> |
I have no help for you, only wanted to mention that this slot has contents in my case, such as "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0" I get it using (net.aserve:header-slot-value request :user-agent) and also wrote a small routine that parses the output, which seems to follow a loose protocol. That way I have specific browser type and version for example. Would appreciate to know if you learn something of interest on this topic. My servers depend on using this informaiton. Regards, Greger Lindell > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of George P.Taylor IX > Sent: Monday, July 14, 2008 03:38 > To: George P.Taylor IX; [email protected] > Subject: ASERVE: accessing request-header-user-agent, how to > > > Resending with appropriate subject line. > > Sincere Apologies. > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]]On > Behalf Of George P.Taylor IX > Sent: Sunday, July 13, 2008 2:12 PM > To: [email protected] > Subject: RE: Using LOOP in HTML Generation Facility macro "html" > > > I am experimenting with aserve. > > I would like to know if there is any way to capture the value > of the user agent making a request to aserve. > > I have captured request objects from Firefox and IE and > inspected them, and each has a slot for > request-header-user-agent, but it is set to NIL in both cases. > > I would like to vary responses slightly based on the browser > a request is sent from. > > The request-header-user-agent seems a natural way to detect > the type of browser. > > Thanks for any help. > > Best, > > Jud > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.10/1550 - Release > Date: 2008/07/13 17:58 > >