RE: [PHP] Session_register ()
| From: | Wouter | esctoday.com | Date: | Tue, 06 Aug 2002 07:52:56 +0000 |
| Subject: | RE: [PHP] Session_register () | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111348@lists.php.net to get a copy of this message | ||
Session variables will exist only from the next page request. So, when you
reload the page, the array should work.
Greetz,
Wouter
-----Oorspronkelijk bericht-----
Van: Varsha Agarwal [mailto:agarwal_varsha@yahoo.com]
Verzonden: 06 August 2002 01:27
Aan: php-general@lists.php.net
Onderwerp: [PHP] Session_register ()
Hi,
I am creating an array mysession, and trying to
register it with
Session_register("mysession");
But when I try to read that array using
foreach($GLOBALS['mysession'] as $ele)
{
}
it gives me parse error as invalid argument for
foreach.
Can anyone tell me whats wrong with it?
-Varsha
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php