Mailing List Archive

PHP Session
I am pulling my hair out trying to set a session. Can
anyone please tell me what's wrong with this could? I
simply want to set a session and echo it back to the page.

Thanks

<?php
session_start();
session_register("name")
{
$name = my name
}
echo "$name"

?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: PHP Session [ In reply to ]
Correct me if I'm wrong but shouldn't it be something like:

<?php
session_start();
session_register("name")
$name = "my name"
echo $name
?>

-----Original Message-----
From: Vernon A Webb [mailto:VernMan@net-nation.com]
Sent: Tuesday, January 29, 2002 8:28 PM
To: Apache
Subject: PHP Session


I am pulling my hair out trying to set a session. Can
anyone please tell me what's wrong with this could? I
simply want to set a session and echo it back to the page.

Thanks

<?php
session_start();
session_register("name")
{
$name = my name
}
echo "$name"

?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: PHP Session [ In reply to ]
More like this, thanks.

<?php
session_start();
session_register("name");
$name = "my name";
echo $name
?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: PHP Session [ In reply to ]
ah yes forgot the ;

-----Original Message-----
From: S. David Sheeks [mailto:sdsheeks@isdponline.com]
Sent: Tuesday, January 29, 2002 8:43 PM
To: users@httpd.apache.org
Subject: RE: PHP Session


Correct me if I'm wrong but shouldn't it be something like:

<?php
session_start();
session_register("name")
$name = "my name"
echo $name
?>

-----Original Message-----
From: Vernon A Webb [mailto:VernMan@net-nation.com]
Sent: Tuesday, January 29, 2002 8:28 PM
To: Apache
Subject: PHP Session


I am pulling my hair out trying to set a session. Can
anyone please tell me what's wrong with this could? I
simply want to set a session and echo it back to the page.

Thanks

<?php
session_start();
session_register("name")
{
$name = my name
}
echo "$name"

?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org