If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I just checked on a mobile, and I see what you see. You must be doing this "IsMobile" check on every page for it to do that. I would only do the check on your home page. If you want make the mobile check on every page, you're going to have to save the users preference in a session variable so that once he decides you don't re-check on him all the time.

I guess you are right, the redirect code was in the index.php, instead of home.php of the main site. I changed it now and it seems to work just fine. No more redirects from main site to mobile once the visitor chooses to go to the main site from mobile site.

I am checking using this tool:

Code:

http://code.google.com/p/ibbdemo2/

I don't have a mobile phone with internet at the moment, I cannot check how it works on a real device now.

Tracknut's redirect question

I hope this post isn't to old to reply to.

I'm testing Tracknut's sweet redirect PHP w/full site link on mobile. Its Exactly what I need, redirect each time, no cookie, Full site Query string URL.

What's happening is, the execution stops in the PHP script and my web page is not continuing to load for desktop or mobile, something to do with the Breaks maybe? I'm not a php coder, but I use much php on the server side.

When I view the Source on the blank page, all code is shown up to the php code below:

I have php on the server, all of my server scripts operate. A tech support guy at the web host co added a line of code to the .htaccesss file (AddHandler application/x-httpd-php .html .htm) to supposedly enable php script on my pages. I renamed my page index.php to test, it loads in the oroginal state, but the redirector code still stops the page from loading. I must have a lot to learn.