Forum Moderators: open

Message Too Old, No Replies

PocketPc Browser redirect?

         

u4eas

7:15 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



Hi...

I have a website lets say mywebsite.com well I am creating a version of this website for pocket internet explorer. What I would like to happen is have a browser redirect so when PPC people come to the site they are automatically forwared to wireless.mywebsite.com. The people surfing with regular IE will stay at mywebsite.com

How whould I achieve this? I have tried some browser redirects that I have used before, but have had zero luck.

u4eas

12:49 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



anyone?

smokeyb

8:55 pm on Dec 13, 2003 (gmt 0)

10+ Year Member



Although I haven't a clue how to do this, I did research it once to see how difficult it would be. I had little luck, but did find a forum post (not webmasterworld) that seemed to explain it fully using perl. I have it bookmarked somewhere, so if you want the url, sticky me.
Smokey

tedster

10:19 pm on Dec 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It seems like it "should" be easy enough to sniff for browser plus operating system, by looking in HTTP_USER_AGENT using your technology of choice, client-side or server side.

However, in self defense trying to access a wide variety of sites, pocket pc users sometimes change the information in their registry and impersonate IE 5.5 for the pc. So it makes more sense to me to use jscript and sniff out the navigator.Appname variable, then search that string for "Microsoft Pocket Internet Explorer".