Most people will know that Cookies are more than sweet things with chips of chocolate in them sent to make us fat. They're also a way for websites to store temporary information in our browsers so that they can 'remember' things about us. Most cookies are simple things that you would never know were there. A simple one being a cookie that remembers if a surfer has been to your website in the past 24 hours. But did you know that cookies are not 100% reliable. Today I learnt about SESSIONS in the programming language PHP. And I thought that they were worth mentioning here. Sessions are very much like Cookies but with one major difference: the information is NOT stored on the users computer, it's stored on the SERVER (webspace) where the website you're looking at lives. This is 99% reliable because it works just like cookies but is not dependant on the surfer allowing cookies and it's exempt from other problems know to plague cookies. Chances are that you've used sessions already at a website you've logged into, or bought something from.
A Session is a record of one visitor browsing through your site, with an entry page, paths and also exit page. Short sessions would indicate that your site is not very targeted and extremely long sessions would indicate that the customers could not find what they were looking for.
A logical connection created between two hosts to exchange data. Typically, sessions use sequencing and acknowledgments to send data reliably.
By setting a cookie, tracking a visitors IP address, or by other unique identifiers, we can track a visitor's session through a site. These sessions can be used to analyze visitor behavior. Sometimes software will create urls based on a unique variable and track a visitor through a site by that means..