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 =
* 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];
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
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)
-
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
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
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
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
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
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)
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.
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
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
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
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
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
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
17 matches
Mail list logo