HighDots Forums  

Redirect if PDS broswer

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Redirect if PDS broswer in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zwi2000
 
Posts: n/a

Default Redirect if PDS broswer - 07-02-2004 , 03:41 PM






Is there a way to redirect to another page if the browser is a PDA ?

Z



Reply With Quote
  #2  
Old   
mzanime.com
 
Posts: n/a

Default Re: Redirect if PDS broswer - 07-02-2004 , 04:35 PM






You can do this on the server side, from *any* browser. But if you want to do it client side, we need to know what PDA browser you have, inorder to tell you what it supports.

Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Redirect if PDS broswer - 07-02-2004 , 04:38 PM



.oO(Zwi2000)

Quote:
Is there a way to redirect to another page if the browser is a PDA ?
Which server-side scripting language is available?

The main problem is to _reliably_ detect a PDA browser, which in fact is
impossible (the problem of all browser switches). Every user agent sends
an ID-string (HTTP_USER_AGENT) along with its request, but it could be
faked. So you can't be sure if the user agent is really a PDA browser,
it's only a guess.

Anyway, it depends on the used scripting language how to redirect to
another page. Additionally I don't know how a PDA browser identifies
itself, i.e. how such an ID-string may look.

Another way would be to use CSS and the media type "handheld", but again
I don't know how well it's supported (I guess you can forget this at the
moment).

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.