Hello Zander,

i wouldnt do it with htaccess - i would use an approach with some session or
cookie information. If you are new on the page i would store the user agent
in the session and on each page i would check whats in the session info and
deliver the content or in your case redirect. So if the user want to switch
you just alter the session information or if the user has no session deliver
the right content for the device - you got the idea?

cheers
Max


2009/7/28 Mr Martineau <abhmartin...@googlemail.com>

>
> I am basically producing a simple, watered down version iPhone
> specific sites on a sub-domain of the original.
>
> I know of various auto redirects, like the htaccess & user agent
> scripts/rules that take the user straight to the iPhone specific site,
> but these scripts do not cater for someone who has come from the
> iPhone specific site that wants to view the full version because they
> are just redirected again back to the iPhone specific site.
>
> Do you see my problem?
>
> My favoured form of redirect is htaccess, is there a way to disregard
> an htaccess rule if the user has come from the sub (iPhone specfic)
> domain so that they can view the main site without problem?
>
> Of course I am open to suggestion if the htaccess rule isn't the way
> to go.
>
> Many thanks
>
> Zander
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to iphonewebdev@googlegroups.com
To unsubscribe from this group, send email to 
iphonewebdev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to