Re: [PHP] Session management

2004-10-22 Thread Tom Rogers
Hi, Friday, October 22, 2004, 4:10:50 PM, you wrote: HS Hi HS I am a PHP newbie from a Java/C/Oracle background. I HS cannot seem to get session management with PHP HS working. HS ?php HS #echo 1; HS $old = ini_set('session.use_cookies', 0); HS session_start(); HS $username =

Re: [PHP] Session management

2004-10-22 Thread Curt Zirzow
* Thus wrote Herman Scheepers: Hi I am a PHP newbie from a Java/C/Oracle background. I cannot seem to get session management with PHP working. ?php #echo 1; $old = ini_set('session.use_cookies', 0); session_start(); $username = $_REQUEST[username];

RE: [PHP] session management

2004-01-30 Thread Giz
session. As for session classes, there are many. Try the usual places... google, sourceforge, freshmeat, phpclasses etc. -Original Message- From: ajay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:56 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] session management hi

Re: [PHP] session management

2004-01-30 Thread Nadim Attari
Handling Session with PHP 4 http://www.zend.com/zend/tut/session.php (Feb 15, 2000) Session Authentication http://www.zend.com/zend/spotlight/sessionauth7may.php (May 15, 2001) Custom Session Handling http://www.zend.com/zend/spotlight/code-gallery-wade8.php (April 30, 2003)

RE: [PHP] session management

2004-01-30 Thread Jeff McKeon
- From: ajay [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 12:56 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] session management hi! well i do have a MySQL database. The scenario is this, i dont want to use cookies or do any URL rewriting. i'm looking for something that mirrors

Re: [PHP] session management

2004-01-29 Thread Raditha Dissanayake
Hi, This has been discussed and hammered out very often in this mailing list in the past, you will find countless solutions in the archives. And anyway no one can help you without knowing what about database or other storage mechanism etc. ajay wrote: hi! i need to maintain session state

Re: [PHP] session management

2004-01-29 Thread ajay
hi! well i do have a MySQL database. The scenario is this, i dont want to use cookies or do any URL rewriting. i'm looking for something that mirrors J2EE's Session object that contains information about the user, their security level(user/admin etc) and this information can then be verified

Re: [PHP] session management

2004-01-29 Thread Raditha Dissanayake
Last time i read the j2ee api i didn't notice anything about storing admin/user staus in the HttpSession object. Anyway like i said if you read the manual and SFTA you would have found the answers. ajay wrote: hi! well i do have a MySQL database. The scenario is this, i dont want to use

Re: [PHP] session management

2004-01-29 Thread ajay
have a user bean, and then session.setAttribute(user, userBean); do session.getAttribute(user) and validate before processing every request. Quoting Raditha Dissanayake [EMAIL PROTECTED]: Last time i read the j2ee api i didn't notice anything about storing admin/user staus in the

Re: [PHP] session management

2004-01-29 Thread Adam Bregenzer
On Fri, 2004-01-30 at 01:20, ajay wrote: have a user bean, and then session.setAttribute(user, userBean); do session.getAttribute(user) and validate before processing every request. The php translation of that would be: $_SESSION[user] = $userBean; (some code later, on a different page)

RE: [PHP] Session Management

2002-11-03 Thread John W. Holmes
These were all the same assumptions I made, thanks. I knew that it was more of an HTTP thing than a PHP thing when it came to the blind faith thing... I was just hoping that was something better out there. I'm not willing to use session management as blindly as it is currently implemented.

RE: [PHP] Session Management

2002-11-03 Thread Robert Samuel White
Samuel White'; [EMAIL PROTECTED] Subject: RE: [PHP] Session Management These were all the same assumptions I made, thanks. I knew that it was more of an HTTP thing than a PHP thing when it came to the blind faith thing... I was just hoping that was something better out there. I'm not willing

Re: [PHP] Session Management

2002-11-02 Thread Jonathan Sharp
first off: IP addresses are not the way to go about this AT ALL. Even if they are behind a proxy, they would most likely be running on a private subnet (say 10.0.0.x) and worse yet, if a company has multiple backbones (like the one I consult at) traffic could go through one of 3 gateway routes

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
to discuss. -Original Message- From: Jonathan Sharp [mailto:js-lists;sharpmedia.net] Sent: Saturday, November 02, 2002 3:16 AM To: Robert Samuel White Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Session Management first off: IP addresses are not the way to go about this AT ALL. Even

RE: [PHP] Session Management

2002-11-02 Thread John W. Holmes
I've created a class for handling session management across an unlimited number of domains (without using cookies) however it has some inherent problems. In order to differentiate between users, it is using the IP Address. I realize this is completely inefficient, and I was hoping that

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
will find my own solution. -Original Message- From: John W. Holmes [mailto:holmes072000;charter.net] Sent: Saturday, November 02, 2002 7:42 AM To: 'Robert Samuel White'; [EMAIL PROTECTED] Subject: RE: [PHP] Session Management I've created a class for handling session management across

Re: [PHP] session management conflicts with xhtml specifications

2001-07-12 Thread Rasmus Lerdorf
You can change the arg_separator setting in your php.ini file. ie. arg_separator = amp; or perhaps: arg_separator = ; -Rasmus On Fri, 13 Jul 2001, Jan wrote: My output does not validate as XHTML because of the sign in the a href that is automatically appendet by the php