Hi Steve,

<@CGIPARAM USER_AGENT> is a very useful little feature, but be cautious,
there are so many different possible values, that it could be difficult to
parse

http://www.pgts.com.au/pgtsj/pgtsj0208c.html

I usually store the value in a single field, but make sure you chop off the
length at something like a 100 characters because I don't think there is any
limit to how long the string might be.

<@LEFT STR="<@CGIPARAM USER_AGENT>" NUMCHARS=100>

Have fun.....

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xmlx.ca
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------


> -----Original Message-----
> From: Campbell Steve [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 03, 2003 9:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Witango-Talk: Browser detection
> 
> 
> Just a fast question?
> 
> Does this return the short string as in regards to the 
> browser name and the
> OS they are using?  First off, I sit here Dumbfounded as to 
> WHY I have never
> used this and secondly, if I was going to collect this info 
> and store it ina
> table, I was wondering if I would need more then one column 
> for the return
> of this tag.
> 
> Thanks
> 
> 
> Steve
> Forerunners
> 
> On 9/3/03 7:13 AM, "Niall Merrigan" <[EMAIL PROTECTED]> wrote:
> 
> > The PARAM you need is USER_AGENT which gives the Browser 
> string and OS
> > of the machine accessing the site
> > 
> > From the docs
> > 
> > USER_AGENT 
> > The internal name of the Web browser application being used 
> to request
> > the URL. This often contains information about the platform (Mac OS,
> > Windows, etc.) on which the Web browser is running, and the
> > application's version. For example, Internet Explorer 3.0 
> for Macintosh
> > returns Mozilla/2.0 (compatible; MSIE 3.0; Mac_PowerPC).
> > 
> > 
> > -----Original Message-----
> > From: Tan Lim Soon Fu [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2003 09:49
> > To: [EMAIL PROTECTED]
> > Subject: Witango-Talk: Browser detection
> > 
> > 
> > Hi,
> > I would like to detect the mime type support from the user 
> browser so
> > that I can return the correct file format for the user. But when I
> > checked with the <@CGIPARAM> metatag, it did not provides 
> the attribute
> > that I required. Is there have any other solution for this?
> > 
> > Thanks.
> > 
> > Regards,
> > Tan
> > 
> > 
> ______________________________________________________________
> __________
> > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> > 
> > 
> > ********************************************************************
> > This message is intended only for the use of the person(s) 
> ("the intended
> > recipient(s)") to whom it is addressed. It may contain 
> information which is
> > privileged and confidential within the meaning of 
> applicable law. If you
> > are not the intended recipient, please contact the sender as soon as
> > possible. The views expressed in this communication may not 
> necessarily
> > be the views held by LGCSB (Local Government Computer 
> Services Board).
> > 
> > Any attachments  have been checked by a virus scanner and 
> appear to be
> > clean.
> > Please ensure that you also scan all messages, as LGCSB 
> does not accept
> > any liability for contamination or damage to your systems.
> > ********************************************************************
> > 
> > 
> > 
> ______________________________________________________________
> __________
> > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to