Preserved Topic: phpsessions on win and *nix |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-09-2002 18:06
is there a known fact that windows and linux handle phpsessions differently? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 03-09-2002 22:29 |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 03-10-2002 01:17
Is it possible the sess id needs to be imbedded in the link? |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-10-2002 15:03
max, |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 03-10-2002 17:34
well, my guess is that your session_path on the unix machine (where the sessions break) is set incorrectly. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-11-2002 16:56 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-11-2002 17:20
ini_set('session.use_trans_sid', '1'); |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 03-11-2002 18:45
Just to make things as easy as possible for developers I'd write a little linkto function where they just need to put in the URL |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-11-2002 20:21
good idea, bitdamaged. thanks. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 03-11-2002 20:48
Dig in the docs a bit Grumble, I think I remember there was a way to have php auto append the SID to every link... |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 03-12-2002 03:17
Grumble |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 03-12-2002 07:21
Grumble, I'm adding SID parameter manually in a similar way like Bitdamaged. I have a few functions that manipulate with URLs. Also note that SID is only added if sessions are enabled, so that search engines can index my web site properly (sessions are enabled only when someone uses one of the common web browsers to view my site). |