<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technical LeoLo &#187; array</title>
	<atom:link href="http://blog.leolo.cc/labels/array/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.leolo.cc</link>
	<description>My Learning note</description>
	<lastBuildDate>Thu, 12 Mar 2009 08:58:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>some problem with PHP SESSION Array</title>
		<link>http://blog.leolo.cc/2008/05/04/12/</link>
		<comments>http://blog.leolo.cc/2008/05/04/12/#comments</comments>
		<pubDate>Sun, 04 May 2008 04:27:00 +0000</pubDate>
		<dc:creator>leolo</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://leolo.wordpress.com/2008/05/04/some-problem-with-php-session-array/</guid>
		<description><![CDATA[session_test.php
&#60;?phpsession_start();$_SESSION['IDNO']=&#8217;A1234&#8242;;$_SESSION['DPT_COD'][0]=&#8217;1402&#8242;;$_SESSION['DPT_COD'][1]=&#8217;B402&#8242;;Print_r($_SESSION);echo 『&#60;br /&#62;&#60;a href=』session_test2.php』&#62;next!&#60;/a&#62;』;?&#62;
The browser show:Array ( [IDNO] =&#62; A1234 [DPT_COD] =&#62; Array ( [0] =&#62; 1402 [1] =&#62; B402 ) )next!
session_test2.php
&#60;?phpsession_start();echo 『Original SESSION array values:&#60;br /&#62;』;Print_r($_SESSION);echo 『&#60;br /&#62;&#60;br /&#62;』;
echo 『New SESSION array values:&#60;br /&#62;』;$IDNO=&#8217;Z5678&#8242;;$DPT_COD=&#8217;foobar&#8217;;Print_r($_SESSION);
session_unset();session_destroy();?&#62;
In machine 1The browser show:Original SESSION array values:Array ( [IDNO] =&#62; A1234 [DPT_COD] =&#62; Array ( [0] =&#62; 1402 [1] =&#62; [...]]]></description>
		<wfw:commentRss>http://blog.leolo.cc/2008/05/04/12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
