<doc>
	<legacy_id></legacy_id>
	<name>start session</name>
	<type>command</type>

	<syntax>
		<example>start session</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Begins a server session.</summary>

	<examples>
<example>start session</example>
<example><p>start session</p><p>put &quot;jack&quot; into $_SESSION['user']</p></example>
<example><p>set the sessionLifeTime 360 -- 10 minutes</p><p>start session</p></example>
	</examples>

	<history>
		<introduced version="5.0">Introduced</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<server/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Images &amp; Multimedia</category>
	</classification>

	<references>
		<command tag="stop session">stop session Command</command>
		<command tag="delete session">delete session Command</command>
		<property tag="sessionSavePath">sessionSavePath Property</property>
		<property tag="sessionId">sessionId Property</property>
		<property tag="sessionName">sessionName Property</property>
		<property tag="sessionLifetime">sessionLifetime Property</property>
	</references>

	<description>
	<overview>Use the <b>start session</b> command to begin a server session. The contents of the $_SESSION array is restored if available.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>If no session identifier is specified by the <property tag="sessionId">sessionId property</property> or contained within the session cookie, then a new session will be created with a unique identifier, and the contents of the session cookie set to that identifier.<p></p><p>The location where the <keyword tag="$_SESSION">$_SESSION</keyword> array is stored on the server is configured using the <property tag="sessionSavePath">sessionSavePath property</property>.</p><p></p><p>A session is stored until it expires or is deleted using the <command tag="delete session">delete session command</command>. The maximum age of a session is configured using the <property tag="sessionLifetime">sessionLifetime property</property>.</p><p></p><p></p><note>You do not need to alter any of the session properties in order to start and use sessions. They provide a way for advanced users to configure the way session work.</note><p></p><p></p><warning>Session properties cannot be changed once a session has been created.</warning></comments>
	</description>
</doc>