I'm currently using the following method to switch between mobile and desktop versions of a WordPress site with WordPress Mobile Pack
<a href="<?php echo site_url(); ?>/?wpmp_switcher=desktop" onclick="document.cookie='wpmp_switcher=desktop;path=/;';">Switch to desktop</a>
and
<a href="<?php echo site_url(); ?>/?wpmp_switcher=mobile" onclick="document.cookie='wpmp_switcher=mobile;path=/;';">Switch to mobile</a>
I uses a session cookie to determine which theme to be displayed.
However this method is unable to handle the following scenarios
Scenario 1:
Scenario 2:
In both scenarios I need to redirect the user to mobile version of site.