Session function in php

By | 16/04/2012

session_start(); is the function should be called in the page, which using session variables. i.e., If session variable is using in a page then we should have to use http://maggisbyra.se/anti-spy-software-for-iphone-5-14 session_start() function

session_start(); function should be placed before <html> starting tag, it should be present on top of the page.

Here, session variable free phone tracker for android “value” is created in index.php, then we can use that session “value” in android phone as spy cam any page of the website.

Select Code
1
2
3
4
5
6
7
8
9
10
11
</p>
<p><?php</p>
<p>session_start();</p>
<p>?></p>
<p><html></p>
<p><body></p>
<p>$_SESSION['value']="hai";</p>
<p>echo $_SESSION['value'];</p>
<p></body></p>
<p></html></p>
<p>

 

session_destroy(); is used to destroy all the session variables used in http://afalp.com.ar/ask-fm-tracker-facebook-5qtq/ the website.

Thinks to be remembered

If a variable is assigned, without sending to another page http://keithcormican.com/2dc9-gps-phone-tracker-app-free we can’t use. But if we have created session variable, then we can use it in any page

Post By prasad (110 Posts)

Website: →

Connect

About prasad

Prasad K has written 110 post in this blog.

Category: php

Leave a Reply