One more time... Sessions questons?
| From: | Floyd Baker | Date: | Thu, 24 Jan 2002 16:03:39 +0000 |
| Subject: | One more time... Sessions questons? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81906@lists.php.net to get a copy of this message | ||
Hi
I have been reading but can't get sessions to even try working..
The set up is win32/php4.1/apache.
Reading the list I have done what was suggested where it I could
understand it. Just went nuts creating /tmp dirs everywhere I could
think of to see if any of them worked... Nada! Also changed the ini
line to point to c:/tmp, etc. Still ng.
Here is one of the scrips that doesn't work.
session_start();
session_register('page_views');
$page_views++;
print "<br> You have viewed this page ";
print $page_views;
print " times(s).";
The ini is the 'recommended' version with register_globals off and
whatever vanilla settings were in there. Everything else seems to be
working... I can pass vars using $_REQUEST just fine. What's wrong?
TVMIA
Floyd
--