GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Mar-2004, 20:23
shrdlu shrdlu is offline
New Member
 
Join Date: Jan 2004
Posts: 3
shrdlu is on a distinguished road

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  
Old 06-Mar-2004, 22:55
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
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).
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 15:15.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.