<?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>Rizq Technology - Exploring Your iDea. &#187; session php</title>
	<atom:link href="http://rizqtech.net/tag/session-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://rizqtech.net</link>
	<description>All about My Experiences, Knowledge and Thoughts.</description>
	<lastBuildDate>Sat, 14 Jan 2012 17:20:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PHP, session.save_path</title>
		<link>http://rizqtech.net/2009/01/09/php-sessionsave_path/</link>
		<comments>http://rizqtech.net/2009/01/09/php-sessionsave_path/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 01:37:37 +0000</pubDate>
		<dc:creator>Rizky</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[register global]]></category>
		<category><![CDATA[session php]]></category>
		<category><![CDATA[windows php]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://rizqtech.net/?p=464</guid>
		<description><![CDATA[A PHP session solves this problem by allowing you to store user information on the server for later use (i.e. username, shopping cart items, etc). However, this session information is temporary and is usually deleted very quickly after the user has left the website that uses sessions. It is important to ponder if the sessions&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>A PHP session solves this problem by allowing you to store user information on the server for later use (i.e. username, shopping cart items, etc). However, this session information is temporary and is usually deleted very quickly after the user has <strong>left</strong> the website that uses sessions.</p>
<p>It is important to ponder if the sessions&#8217; temporary storage is applicable to your website.  If you require a more permanent storage you will need to find another solution, like a MySQL database.</p>
<pre name="code" class="php">&lt;?php
<span style="color: red;">session_start();</span> // start up your PHP session!
?&gt;</pre>
<pre name="code" class="php">&lt;?php
session_start();
<span style="color: red;">session_destroy()</span>; //stop/cleaned your PHP session !
?&gt;</pre>
<p>Sessions work by creating a unique identification(UID) number for each  visitor and storing variables based on this ID.  This helps to prevent two users&#8217; data from getting confused with one another when visiting the same webpage.</p>
<p>PHP conditions to storage session in PHP 4+ for Windows users must change a directory storage from /tmp to another directory according your files stucture. Eg :C:temp&#8221; or if you are using XAMPP for Windows, please read carefully in PHP.ini file and find &#8220;session.save_path&#8221; and change to &#8220;C:xampptmp&#8221; ,this directory all files sessions are stored. and re-checked your &#8220;Register_Global&#8221; in PHP.ini instead Off, but if require Turn On.</p>
<p>I hope this information helpful.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Frizqtech.net%2F2009%2F01%2F09%2Fphp-sessionsave_path%2F';
  addthis_title  = 'PHP%2C+session.save_path';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<h3  class="related_post_title">Random Posts</h3><ul class="related_post"><li><a href="http://rizqtech.net/2007/05/10/o0-script-untuk-mencari-volume-balok-0o-uses/"  title="Script untuk mencari Volume Balok.">Script untuk mencari Volume Balok.</a></li><li><a href="http://rizqtech.net/2008/10/28/css-shorthand-2/"  title="Css Shorthand 2.">Css Shorthand 2.</a></li><li><a href="http://rizqtech.net/2008/06/01/newbie-c-language-eps-10-2/"  title="Newbie @ C++ Language eps 11">Newbie @ C++ Language eps 11</a></li><li><a href="http://rizqtech.net/2008/07/30/my-partner%e2%80%99s-not-doing-enough-work/"  title="How to get your partner to do more work.">How to get your partner to do more work.</a></li><li><a href="http://rizqtech.net/2007/05/22/55/"  title="Tentukan Hari.">Tentukan Hari.</a></li><li><a href="http://rizqtech.net/2008/07/30/conversation-skills-tips-how-to-have-a-good-conversation/"  title="Conversation Skills / Tips: How To Have A Good Conversation.">Conversation Skills / Tips: How To Have A Good Conversation.</a></li><li><a href="http://rizqtech.net/2008/07/30/how-to-expand-your-business-through-quality-and-word-of-mouth/"  title="How To Expand Your Business Through Quality And Word Of Mouth.">How To Expand Your Business Through Quality And Word Of Mouth.</a></li><li><a href="http://rizqtech.net/2008/07/26/hello-world/"  title="Beginner&#8217;s Luck !!! ">Beginner&#8217;s Luck !!! </a></li><li><a href="http://rizqtech.net/2008/07/30/8-starting-a-new-job-tips/"  title="8 Starting a New Job Tips.">8 Starting a New Job Tips.</a></li><li><a href="http://rizqtech.net/2009/10/04/media-networking/"  title="Media Networking">Media Networking</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://rizqtech.net/2009/01/09/php-sessionsave_path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

