Difference between revisions of "Sessions and Variables in PHP"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(New page: learned something: The only way for any variable, (apache, environment, php) to remain set the next time the page is loaded is to create a session. Use start_session(); on the top of ea...)
 
m
Line 5: Line 5:
  
 
reference: http://nl3.php.net/manual/en/function.session-start.php
 
reference: http://nl3.php.net/manual/en/function.session-start.php
 +
 +
{{:Sparse Entry}}
  
 
[[Category:Computer Technology]]
 
[[Category:Computer Technology]]
 
[[Category:Programming]]
 
[[Category:Programming]]
 
[[Category:PHP]]
 
[[Category:PHP]]

Revision as of 22:21, 6 February 2014

learned something: The only way for any variable, (apache, environment, php) to remain set the next time the page is loaded is to create a session. Use start_session(); on the top of each page. It is not only necessary to START a session, but also necessary to RESUME a session. The reloading of a page is an example of when RESUME using start_session(); will be necessary to have access to those variable values.

reference: http://nl3.php.net/manual/en/function.session-start.php

 

Contributeduck176.gif
Note: This page is notably incomplete. You can help. Please contribute by registering your email address and adding your knowledge to this page. The D.U.C.K. wiki was created to be a free informative place that allows an open exchange of accurate information.
Learn more...