Using Database Session Handling in Code PHP

PHP is one of the scripting language. In which session handling is one of the key thing mostly using in web application.

Suppose you build a website and allow to login everyone in website, You need to track user every step until they log out our system, Its called Session tracking.

Now the question is why we need to track the session, answer is very simple .HTTP state less protocol, When you refresh you page, Its lost every information, So this is the reason we need session handling.

To handle session in php we need to a global variable $_SESSION and session_start()

– Read full more at: Using Database Session Handling in Code PHP

If you have any query related to PHP language then goto to our PHP Developer Forum. FindNerd community is a right place where you can post and look for PHP Programming Questions and Answers .

Advertisements
Using Database Session Handling in Code PHP

One thought on “Using Database Session Handling in Code PHP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s