You don't need to call session_start twice. And you are right, the
problem is in that line: you want to show your login screen
if both $_POST['uid'] and $_SESSION['uid'] are not set, therefor
instead of OR use AND.
Anders Thoresson wrote:
Hi again,
I'm still trying to understand sessions,
Hi again,
I'm still trying to understand sessions, and have made some progress
during the afternoon, thanks to Ernest E. Vogelsinger. I'm at the moment
trying to get a login-script up and running, but without 100 percent success.
The script is split up in two major parts: bilder.php, which
Hello,
In an attempt to override the political anger in this mailing list I will
tell you that I have already searched through documentations on how to solve
the problem I'm having, to the extent of my skills in searching.
Ok, now to the problem. I have an array submitted by a form, such as
']['name'];
$_SESSION['myarray']['price'];
$_SESSION['myarray']['desc'];
-Kevin
- Original Message -
From: @ Darwin [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:05 PM
Subject: [PHP] Need Help With SESSIONS and ARRAYS
Hello,
In an attempt to override
Oops.. sorry didn't realize I was responding to a redundent post. :)
-Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: @ Darwin [EMAIL PROTECTED]; Php-General
[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:27 PM
Subject: Re: [PHP] Need Help With SESSIONS
on 7/3/01 12:19 AM, Victor Spång Arthursson at [EMAIL PROTECTED]
wrote:
Hi!
I'm converting from ASP/VBScript, and need to know how to declare a
session variable.
i feel your pain. i just finished moving a site from ASP/VBScript to
PHP/Javascript, learning ASP/VBScript and Javascript
i believe this is track_vars, but as of php 4.0.3, this is always on.
on 7/3/01 9:21 AM, Kurt Lieber at [EMAIL PROTECTED] wrote:
Hi Mike --
a related question to your post below. Specifically
$HTTP_SESSION_VARS[variablename]
or (depending on how php is configured) $variablename.
Hi!
I'm converting from ASP/VBScript, and need to know how to declare a
session variable.
In VBScript I just type in:
%
session(any) = victor
%
Then I can print that variable on any page on the same webpage using:
%
response.write session(any)
%
as long as I don't close the browser or the
8 matches
Mail list logo