Detecting handheld devices
Devin Whalen
devin-Gq53QDLGkWIleAitJ8REmdBPR1lH4CV8 at public.gmane.org
Mon Jun 20 18:18:17 UTC 2005
On Mon, 2005-06-20 at 13:50 -0400, Chris Friedt wrote:
> actually, you're right. I didn't even think to just look in the http
> headers
>
> good luck ;-)
>
This is what I get though:
HTTP ACCEPT:*/*
USER_AGENT:Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Http Accept is useless. I guess I will just have to grep the USER_AGENT
for Windows CE, that is all we are dealing with right now, but it is not
what I was hoping for. Oh well, I can at least get it too work. I just
hope my client doesn't change devices any time soon :(.
Later
> >>> devin-Gq53QDLGkWIleAitJ8REmdBPR1lH4CV8 at public.gmane.org 6/20/05 1:43:36 pm >>>
> Hey,
>
> Thanks guys, that is a good link. Tells me exactly where too look. I
> would much rather be able to check on the server then to check through
> javascript after the page loads.
>
> Later
>
>
> On Mon, 2005-06-20 at 13:36 -0400, Taavi Burns wrote:
> > On 6/20/05, James Knott <james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:
> > > Devin Whalen wrote:
> > > > Hey,
> > > >
> > > > Does anyone know how to detect if someone goes to your website
> using a
> > > > pda or a handheld device? When I go to www.ibm.com/ on a
> wireless
> > > > scanner device ibm automatically redirects me to
> > > > http://wireless.ibm.com/us/ . Can you detect this in Apache?
> Any help
> > > > would be appreciated, even just a link to a good site.
> >
> > Some googling "apache browser redirect headers device" provides:
> >
> http://developer.openwave.com/dvl/support/documentation/technical_notes/clientdevice.htm
>
> >
> >
--
Devin Whalen
Programmer
Synaptic Vision Inc
Phone-(416) 539-0801
Fax- (416) 539-8280
543 Richmond Street West
Toronto, Ontario
Suite 223 M5V 1Y6
Box 105
Home-(416) 653-3982
Take back the Web with FireFox....a browser you can trust
www.getfirefox.com
.-.
/v\ L I N U X
// \\
/( )\
^^-^^
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list