Sessions What is it{6}


When we were doing the project this past week I heard a bit about sessions and I really did not get what it was all about so that is what I am going to do my article abut this week so I can learn a little more about what session is and what it is all about. Session is kind of like a cookie but is actually not stored on the users browser like a cookie would do. A cookie can keep a lot of information such as user name and password so when you use session it does not keep the information. It is like a token it alles access and passing of information while the user has the browser open. But once you close the browser you will lose the session and will have to re log in when you come back to the site because your information is not stored on the computer.

During this past week we did not learn much. On Monday we had the day off from school because of Memorial Day and we went to class on Wednesday and learned a little bit about the project. The professor went over how the log-in would work and it kind of would tie in with my blog this week and session. Especially because it has to tie in with the user and without session you wouldn’t be able to view the web page the way you want.

The reason I wanted to learn about this subject is because it is something that I didn’t understand very well when it came to the project and I wanted to make sure that I understood it more now. I though originally that when session ran it was keeping tract like a cookie does. But now that I know that is not what it is doing it made this blog productive and allowed me to learn something new.

Bradley, A. (2011) The difference between Cookies and Sessions, Retrieved June 13, 2012, from

http://php.about.com/od/learnphp/qt/session_cookie.htm