Re: correct session format?
| From: | Thomas Seifert | Date: | Sat, 21 Jun 2003 16:54:37 +0000 |
| Subject: | Re: correct session format? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152397@lists.php.net to get a copy of this message | ||
yeah its the right way.
though I don't know what you'r trying to do with
echo "<P> $_SESSION";
Thomas
On Sat, 21 Jun 2003 09:22:39 -0500 jayfitz@bayou.com (Jay Fitzgerald) wrote:
> is this the correct way to register variables via a session?
>
> [code]
> session_start ();
> $_SESSION['eventid'] = 'arma2';
>
> print_r ($_SESSION);
> echo "<P> $_SESSION";
> [/code]
>
>
> [result]
> Array ( [eventid] => arma2 )
>
> Array
> [/result]
>
> I apologize for the numerous questions, but I am trying to learn...If
> anyone would like to help off-list, my ICQ is 38823829
>
> Jay
>