Create a php page to display cookies and session values and then open it with iphone and a desktop. This will help you to understand what is not working. Also check error and access log files in apache.
cereal
Veteran Poster
1,195 posts since Aug 2007
Reputation Points: 358
Solved Threads: 231
Skill Endorsements: 22
Here's what you can try:
<?php session_start(); ?>
<h3>Cookies</h3>
<pre>
<?php
print_r($_COOKIE);
?>
</pre>
<h3>Session</h3>
<pre>
<?php
print_r($_SESSION);
?>
</pre>
After your login go to this page and check if you get same variables or if something is missing, do this test with the iphone and desktop. I mentioned cookies because I didn't know if you used them or not. I can't help more than this without the code.
cereal
Veteran Poster
1,195 posts since Aug 2007
Reputation Points: 358
Solved Threads: 231
Skill Endorsements: 22