sessions+win2000pro+php4+IIS5
| From: | oliver-b | Date: | Mon, 29 May 2000 17:18:11 +0000 |
| Subject: | sessions+win2000pro+php4+IIS5 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-118@lists.php.net to get a copy of this message | ||
Hi,
I`m trying to get sessions to work using Windows 2000 Pro, PHP Version
4.0.0, & IIS 5.
I`ve edited the php.ini to reflect where i wanted the session.save_path,
i.e. /temp (being c:\temp).
And using the code below, its seems to be storing a session file in c:\temp
each time i access the page. Yet all I can get is a "Cannot find server or
DNS Error" page.
Any help would be greatly appreciated.
Thanks, oliver-b.
<?php
session_start();
session_register('counter');
$counter++;
echo ("You have visited this page $counter times");
?>