Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Problem Using Sessions


Message #1 by "Mark Carruth" <mcarruth@t...> on Sat, 6 Apr 2002 21:49:09 +0100
Is there any chance this is a problem with my web server? I tried a really
basic test. On one script I wrote

<?php

session_start();
$test = "Hello World";
session_register("test");

?>

Then on another script I used

<?php

session_start();

echo($test);
echo($HTTP_SESSION_VARS["test"]);

?>

And this STILL did not work, I could not access the value of the session
variable "test". I think this is a web server problem, what about you guys?

TIA,

Mark Carruth


----- Original Message -----
From: "Nikolai Devereaux" <yomama@u...>
To: "professional php" <pro_php@p...>
Sent: Tuesday, April 09, 2002 7:37 AM
Subject: [pro_php] Re: Problem Using Sessions


>
> There's a few articles on phpbuilder.com, I just posted a link to one of
> them this morning, I think.
>
> a google search for "tutorial php sessions" yielded a bunch of hits,
> including these:
>   http://www.phpbeginner.com/columns/enygma/sessions
>
>
>



  Return to Index