I'm using microsoft PWS as a developing platform on Win98.
I get this error when I try to echo a session variable:
Notice: Undefined variable: sessionArtID in C:\Inetpub\wwwroot\aspweb\000php\show-session.php on line 4
sessionArtID=
Here is my code in first page which initializes my variable:
session_start();
$sessionArtID = "krudtaa";
session_register("sessionArtID");
On the same page I have a link to another PHP page which tries to display the content of the var like this:
session_start();
echo("sessionArtID=$sessionArtID");
Any suggestions ...???
Tore