October 2002
Intermediate to advanced
368 pages
7h 12m
English
Before you get started with this chapter, you may have to make a couple of minor changes to your php.ini file so that sessions work correctly.
If you are using a Windows version of PHP, the first thing you need to do is to edit your php.ini file. The default session setting in php.ini will not work correctly under Windows.
Open your php.ini file, which is found in c:\windows or c:\winnt, in a text editor and search for the line:
session.save_path = /tmp
Change it to a directory in which you keep temporary files, for example:
session.save_path = C:/temp
You could also leave the value as /tmp and create a directory named “tmp” at the root of the drive on which your Web server resides. ...
Read now
Unlock full access