![]() |
|
#1
|
|||
|
|||
Session Variables lost by Mac?A friend is trying to connect to a site I'm developing, and getting an error. It works for me under Win 98 from IE and Netscape, but not for him using a Mac and IE 5.
It appears that session variables (of the $_SESSION['userID'] kind ) are getting lost. I know session variables can fail if cookies are blocked, but he said he is not blocking them. What else could be causing this? (If this is too vague, please tell me what info will be useful, and I'll provide more details.) |
|
#2
|
||||
|
||||
|
Are there any server-side re-directs in your script? Did you test that your website works with COOKIES off (i.e. the session is NOT broken between page views)?
The most likely issue is that a redirect is being triggered without the SID in the redirected 'location' url. This of course has nothing to do with MaC vs. Windows vs. Linux... As for the Mac specific issue, I can't say, I don't use a Mac... but it shouldn't matter actually because if the user has disabled cookies PHP is supposed to append the SID to the URL automatically (I can't remember the exact ini setting but you can definitely control this). If this is set wrong, then even a Windows user with cookies disabled will have NEW session IDs for EACH page view (so session is broken on your site). __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not finding POST variables | shrdlu | Apache Web Server Forum | 2 | 22-Jan-2004 18:50 |
| Apache on Windows XP and passing variables | Jos Elkink | Apache Web Server Forum | 4 | 21-Nov-2003 02:21 |
| C++ variables question | pcxgamer | CPP / C++ Forum | 2 | 19-Sep-2003 03:01 |
| Mail message with variables | ukrspp21 | MySQL / PHP Forum | 2 | 05-Aug-2003 05:10 |
| PHP variables | nniehoff | MySQL / PHP Forum | 7 | 26-Jul-2002 06:25 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The