Session Persistance (urgent help required)
| From: | Raheel Hussain | Date: | Thu, 31 Oct 2002 18:58:00 +0000 |
| Subject: | Session Persistance (urgent help required) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16638@lists.php.net to get a copy of this message | ||
function SetDomain(d) { document.domain = d; }Hi,
I m a new bie programmer in PHP , but have strong background in ASP
here i m having a problem with session persistance
at one page i m starting the session, with
session_start();
$_SESSION['count']="1";
print($_SESSION['count']); // this works all fine
but when i navigate to second pages, and write the following code, then creates problem,
print($_SESSION['count']); // this doesnt work fine,
it gives "undefined variables _SESSION prblem,
may b i m making some mistake in the session configuration of php.ini file,
so plz guide me to default configuration , so that i can be able to continue with my work.
regards
raheel
---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now