First use session_register(). Then give the variable a value.
So just rearrange your code, like this:
<?php
session_start();
$SID = date("Y F j H:i:s");
session_register("SID"."fillista");
$fillista = "fillista.xml";
print "SID=".$SID;
?>
That should do it.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Jan Grafström" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
> I am trying to learn about sessions and set up this file,
>
> <?
> session_start();
> $fillista = "fillista.xml";
> session_register("SID"."fillista");
> $SID = date("Y F j H:i:s");
> print "SID=".$SID;
> ?>
>
> This seams not to work on the file fillista.xml, I can still read it
> afterwords in IE:s cache. How do I pass the session to a xml-file on
> server?
>
> Thanks for any help.
>
> Regards
> jan
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]