0

Good day to you!

Is somebody could explain and give examples to me what are the functions of session in the page and what are the purpose of it?

I'm waiting for your detailed help...

Thank you in advance...

Roland

2
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by rcasinillo_s
0

Sessions are variables like cookies. You use them to store data from one page to the next.

Here is the php.net documentation intro on sessions:

'Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site.

A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL.'

Check out: http://us2.php.net/manual/en/ref.session.php
Towards the bottom of the page are examples.

Good day to you!

Is somebody could explain and give examples to me what are the functions of session in the page and what are the purpose of it?

I'm waiting for your detailed help...

Thank you in advance...

Roland

0

Thanks sfbell, thanks for your helpful information....

Sessions are variables like cookies. You use them to store data from one page to the next.

Here is the php.net documentation intro on sessions:

'Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site.

A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL.'

Check out: http://us2.php.net/manual/en/ref.session.php
Towards the bottom of the page are examples.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.