| 1:03 pm on Apr 3, 2002 (gmt 0)|
Just a quick check Grodan - do you have the same problem when using
$varname = 'value';
as opposed to
$_SESSION['varname'] = 'value';
I've only used the former and would be supsicious of the latter method as the under score signifies that its a private variable and should be accessed via some other method.
| 2:21 pm on Apr 3, 2002 (gmt 0)|
I have used the session_registrer before and that works.
But I will set the globals to 'off' in php.ini and according to the manual should you use $_SESSION instead now.
And $_SESSION works om my developmentmachine which looks almost the same as the server.
The only problem is that the server don't put the sessionvalues into the sessionfile...
| 3:19 pm on Apr 3, 2002 (gmt 0)|
Hmm, it seems like the user in the webpage dont have the rights to write in the sessionfiles... could that be true?
When I'm developing it works but then I'm accessing the pages fron 'localhost', maybe I have the right rights then?
How do i set the rights för external webusers on a Win 2000 server?
| 3:42 pm on Apr 3, 2002 (gmt 0)|
I just wanted to confirm that according to what you read session_register() has been replaced by $_SESSION() = value.
And where in the manual did you see this - so I can read up on it.
| 4:04 pm on Apr 3, 2002 (gmt 0)|
It is not replaced, but it is recommended that you use $_SESSION instead.
Search for 'session' in the PHP manual.
Sorry if you missunderstod me.
| 9:07 am on Apr 4, 2002 (gmt 0)|
Hmm, does anyone know if I use the $_SESSION-way to register sessionvariables and have globalvaribles set to 'On' in php.ini, does it still work?
I have only tried with globalvariabels set to 'Off' and that works.
I can't try it myself at the moment, but i'd like to know so I can keep on planning. :)
| 1:19 pm on Apr 4, 2002 (gmt 0)|
I created the IUSER_computername. Then I gave rights to that user in the libary that contains the sessionfiles.
That solved the problem on my developmentcomputer which have FAT32 as filesystem. Then I copied over all the files to the webserver and did the same thing (IUSER_) on that machine. But there it doesn't work :(
The only difference is that the webserver have NTFS as a filesystem.
Can anyone help me and solve the problem?
I would jump high in joy :)