* 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.
>
>
> #echo 1;
>
> $old = ini_set('session.use_cookies', 0);
>
> session_start();
> $username = $_REQUEST["username"];
> session_r
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>#echo 1;
HS> $old = ini_set('session.use_cookies', 0);
HS> session_start();
HS> $username = $_REQUES
Hi
I am a PHP newbie from a Java/C/Oracle background. I
cannot seem to get session management with PHP
working.
>Welcome '.$Postfrom.' !';
echo 'Next';
echo $display;
} else {
echo "Login Failed!";
}
?>
In ht_next.php I have:
$username seems to be empty at this point.
e
nd any copy of it, from your computer system. Thank You.***
> -Original Message-
> 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
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)
s from someone who has an active
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: [PH
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 p
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 Htt
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
cookie
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 befor
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 in
hi!
i need to maintain session state in my php application. i further need to be
able to distinguish between admin levels and user levels and thus the session
also needs to keep this info (ie, whether person has logged in as admin or user)
any ideas how to do it.
thanks
--
ajay
--
Got it fixed. Turns out there are typos in the book
Thanks Jason for the help.
Chris
At 08:50 AM 3/23/2003, CDitty wrote:
Hello all. I am trying to figure out some session management that is in
the O'reilly book - Web Database Applications. I am getting the following
error - Error 1045 : Ac
Hello all. I am trying to figure out some session management that is in
the O'reilly book - Web Database Applications. I am getting the following
error - Error 1045 : Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
Normally, I would think that this is because the userid and/
AM
To: 'Robert 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" th
> 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
sion management as blindly as it is
currently implemented. I 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
ondering if there is some way to determine the real IP Address of
a
> user, even if that user is behind a proxy farm, etc., and if this is,
in
> fact, what PHP does.
No. The PHP session management isn't related to IP at all, that I know
of. It shouldn't have to be because of the pro
of what I want 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
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 (dif
I'm looking for some well thought out advice on session management.
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 rea
automatically appendet by the php session management. it
> should be exchanged by an & entity. Is there a way to do this?
> There should be one I guess ...
>
> Thanks,
>
> Jan.
>
>
>
&
My output does not validate as XHTML because of the & sign in the a href that is
automatically appendet by the php session management. it should be exchanged by an
& entity. Is there a way to do this? There should be one I guess ...
Than
Can a web hosting company decide whether or not session control is allowed in their
servers. it is something you need to have access top the server to control. ie set up
in the php.ini file or similar
thanks
andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
24 matches
Mail list logo