[PHP] PHP and sessions

2005-10-17 Thread J.Lubelan
Hello Can anybody help me with sessions? Where is the problem? I start session in "start.php" script. $split = "http://";. $_SERVER['HTTP-HOST']. dirname($_SERVER['PHP_SELF']). "/split.php"; ?> target="_blank" title="Split user">Split testing _

Re: [PHP] PHP and Sessions

2005-04-18 Thread The Disguised Jedi
yes, set the cookie expiration to 0. Can be done in php.ini, or with the function mentioned. use ini_set() or change the value. On 4/18/05, Petar Nedyalkov <[EMAIL PROTECTED]> wrote: > > On Monday 18 April 2005 05:22, Reynier Perez Mira wrote: > > Hi list: > > > > I have this code that Works

Re: [PHP] PHP and Sessions

2005-04-18 Thread Petar Nedyalkov
On Monday 18 April 2005 05:22, Reynier Perez Mira wrote: > Hi list: > > I have this code that Works perfectly: > > File: index.php > > > session_start(); > > echo "Close session"; > > ?> > > File: logout.php > > > session_unset(); > > session_destroy(); > > ?> > > > > When user click link all

[PHP] PHP and Sessions

2005-04-17 Thread Reynier Perez Mira
Hi list: I have this code that Works perfectly: File: index.php Close session"; ?> File: logout.php When user click link all works fine but when user close window withouth click link the session is not delete and all vars preserve they values. How can I fix that? I use PHP 5.0.0 RC2 an

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Tim Thorburn
Yes, I've also had this script working on PHP 4.0.6 - basically I'm looking for reasons as to why the sessions may not be functioning properly. Right now I'm going line by line through the configuration of PHP on the server that works (4.2.2) and the server that doesn't work (4.1.2) - I'm hopin

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Justin French
on 21/01/03 8:33 AM, John Nichel ([EMAIL PROTECTED]) wrote: > But he said that it's working in 4.2.2 (default off), but not working in > 4.1.2 (default on). If I remember correctly, > $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about > things like $_POST $_SERVER, etc. did those

Re: [PHP] PHP and Sessions?

2003-01-20 Thread John Nichel
But he said that it's working in 4.2.2 (default off), but not working in 4.1.2 (default on). If I remember correctly, $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about things like $_POST $_SERVER, etc. did those work prior to 4.2.0? Sean Burlington wrote: Tim Thorburn wrote:

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Sean Burlington
Tim Thorburn wrote: Hi, I've created a password protected area on the site I'm working on using PHP Sessions - I've done this several times before without any difficulty. This time, I've copied my old code - made the necessary changes for login/passwd/database names, yet the sessions don't ap

[PHP] PHP and Sessions?

2003-01-20 Thread Tim Thorburn
Hi, I've created a password protected area on the site I'm working on using PHP Sessions - I've done this several times before without any difficulty. This time, I've copied my old code - made the necessary changes for login/passwd/database names, yet the sessions don't appear to be working.