RE: [PHP-DB] Re: log in script kicks me out

2004-08-31 Thread Irm Jr
Upon reading your suggestion, I tested the same script on a new server
using PHP 5 and don't seem to have this problem.  Might there be an
installation problem?  Or something with php itself?

-Original Message-
From: Torsten Roehr [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 27, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: log in script kicks me out

I have attempted to use session_write_close() but it makes no 
difference.  Thanks for your help.

Any other ideas I might be be able to try?

Upon doing a quick search using something like $_SESSION second time 
I see that there are a number of others who seem to have similar 
problems, and no solutions.

I couldn't see in your messages what PHP version you are using. Any
chance to upgrade to 4.3.8?

Regards, Torsten Roehr

--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Re: log in script kicks me out

2004-08-31 Thread Torsten Roehr
Irm Jr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Upon reading your suggestion, I tested the same script on a new server
using PHP 5 and don't seem to have this problem.  Might there be an
installation problem?  Or something with php itself?

Do a echo phpinfo(); on both systems and compare the session settings.

Regards, Torsten Roehr

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] Re: log in script kicks me out

2004-08-31 Thread Irm Jr
I have done that, and there are no differences.  Thank you for the
advice. 

-Original Message-
From: Torsten Roehr [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 31, 2004 10:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Re: log in script kicks me out

Irm Jr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Upon reading your suggestion, I tested the same script on a new server 
using PHP 5 and don't seem to have this problem.  Might there be an 
installation problem?  Or something with php itself?

Do a echo phpinfo(); on both systems and compare the session settings.

Regards, Torsten Roehr

--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] RE: log in script kicks me out

2004-08-27 Thread Irm Jr
I have attempted to use session_write_close() but it makes no
difference.  Thanks for your help.

Any other ideas I might be be able to try?

Upon doing a quick search using something like $_SESSION second time I
see that there are a number of others who seem to have similar problems,
and no solutions.



-Original Message-
Sent: Tuesday, August 17, 2004 7:08 AM

Irm Jr wrote:

 Each page checks for a particular session variable, if it isn't set to

 a particular value, the intruder is kicked out to the login form and 
 asked to log in.
 
 The problem is this:
 
 On the production machine, even with a correct username and password 
 (i.e. a successful login), the user is ALWAYS kicked back out and 
 asked to log in.  However, typing exactly the same information a 
 second time allows the user right in.  You can tell that the first 
 attempt was successful because the script executes the header:Location

 .

Use session_write_close() before your header() redirection.

-- 

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals - www.phparch.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: log in script kicks me out

2004-08-27 Thread Torsten Roehr
Irm Jr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have attempted to use session_write_close() but it makes no
difference.  Thanks for your help.

Any other ideas I might be be able to try?

Upon doing a quick search using something like $_SESSION second time I
see that there are a number of others who seem to have similar problems,
and no solutions.

I couldn't see in your messages what PHP version you are using. Any chance
to upgrade to 4.3.8?

Regards, Torsten Roehr

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php