[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. ?php // start.php script session_name('test'); session_start(); $_SESSION['fig1'] = 'split'; .. .. .. $split = http://;. $_SERVER['HTTP-HOST']. dirname($_SERVER['PHP_SELF']). /split.php; ? a

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 a href=logout.php?sid=. session_id().Close session/a; ? File: logout.php ? session_unset(); session_destroy(); ? When user

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

[PHP] PHP and Sessions

2005-04-17 Thread Reynier Perez Mira
Hi list: I have this code that Works perfectly: File: index.php ? session_start(); echo a href=logout.php?sid=. session_id().Close session/a; ? File: logout.php ? session_unset(); session_destroy(); ? When user click link all works fine but when user close window withouth click

[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

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

Re: [PHP] PHP and Sessions?

2003-01-20 Thread John Nichel
: 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

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Justin French
updating, it tried to grab your old value (on). Justin Sean Burlington wrote: 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

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

[PHP] PHP Login Sessions

2002-11-01 Thread Jay Fitzgerald
What am I doing wrong here? I have a login form that visitors enter their usename and use_psswrd in to log in...the form action is this code: SNIP 1== ? session_start(); if ($_REQUEST[use_name] $_REQUEST[use_psswrd]) { $connection = mysql_connect(SERVER,USER,PASS) or

Re: [PHP] PHP Login Sessions

2002-11-01 Thread @ Edwin
Hello, Jay Fitzgerald [EMAIL PROTECTED] wrote: [snip] ===SNIP 2 ? session_start(); if (isset(valid_id)) { echo $_SESSION[valid_id]P; } else [/snip] Perhaps, it's because you need to ask if (isset($_SESSION['valid_id'])) ? - E -- PHP General Mailing List

[PHP] PHP 4.0.3 : Sessions history.back() : a solution ?

2001-04-30 Thread Matthieu Brunet
Well, I suppose it's a well known problem, but I haven't found a solution yet... As you know, when you don't use sessions, you can use the back button of your browser, or the javascript commande history.back(). In the same time, you don't have to put some nocache header to have your dynamic

Re: [PHP] PHP 4.0.3 : Sessions history.back() : a solution ?

2001-04-30 Thread Yasuo Ohgaki
There is a functions called session_cache_limiter(). Use this function before you output anything (or use ob_start(), if you would like) Regards, -- Yasuo Ohgaki Matthieu Brunet [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I suppose it's a well known

[PHP] PHP 4 sessions and PHPLIB

2001-02-14 Thread Martin A. Marques
Hi, I've been using horde, IMP for a while with PHP4 pretty well, no problem at all (uses PHPLIB for session and database storage). But now I need to built some code and I'm using PHP4's native session functions. The problem was that when coding I got an error related with PHPLIB's session