Re: [ilugd] Apache PHP Sessions not getting registered

Sandip Bhattacharya <[email protected]> Tue, 31 Aug 2004 16:45:49 +0530
Newsgroups gmane.user-groups.linux.delhi.devel
Organization Puroga Technologies Pvt. Ltd.
Message-ID <[email protected]>
[Moving to ilugd-dev where this is more relevant - Sandip]
On Tuesday 31 Aug 2004 3:39 pm, vivek wrote:
>
> i made a file test.php with the contents
>
> 	<? // test.php
> 	session_start();
> 	$myname = "vivek";
> 	session_register("myname");
> 	?>
>
> which registered the sessions and another file test2.php which printed
> the sessions
> 	<? // test2.php
> 	session_start();
> 	echo $myname;
> 	?>
>

in test2.php, does adding the line" var_dump($_SESSION);"  get you 
anything ...

- Sandip

-- 
Sandip Bhattacharya    *    Puroga Technologies   *     sandip-/[email protected]
Work: http://www.puroga.com        *         Home: http://www.sandipb.net

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

The meta-Turing test counts a thing as intelligent if it seeks to
devise and apply Turing tests to objects of its own creation.
		-- Lew Mammel, Jr.