Get Started: +91 800-114-6000 / +91 947-453-0936
This is an Important Announcement. Please go through our website regularly for all Announcements.
MENU

Understanding Cookies and Sessions
Web Development Guidelines 06 Jul,2016 0


Cookies and Sessions are inextricably intertwined, and fundamental to creating rich, interactive internet applications.

What is a "Cookie"? 

A cookie is a small piece of text stored on a user's computer by their browser. Common uses for cookies are authentication, storing of site preferences, shopping cart items, and server session identification.

Each time the users' web browser interacts with a web server it will pass the cookie information to the web server. Only the cookies stored by the browser that relate to the domain in the requested URL will be sent to the server. This means that cookies that relate to www.example.com will not be sent to www.exampledomain.com.

In essence, a cookie is a great way of linking one page to the next for a user's interaction with a web site or web application.

What is a "Session"?

A session can be defined as a server-side storage of information that is desired to persist throughout the user's interaction with the web site or web application. 

Instead of storing large and constantly changing information via cookies in the user's browser, only a unique identifier is stored on the client side (called a "session id"). This session id is passed to the web server every time the browser makes an HTTP request (ie a page link or AJAX request). The web application pairs this session id with it's internal database and retrieves the stored variables for use by the requested page.



Comments:
Sorry! No comment present till there, Be the First person to post a Comment.


Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment *
You may use these HTML tags and attributes: <b> <i> <strong>
About FlexonLabs::
You have reached one of life's important cross roads. You are about to leave college life behind to embark upon your professional career. We understand that, for you, it is a time for important decisions and you undoubtedly want to know how to realize your full potential. At Flexon, we appreciate that everyone has different needs; your goals and interests are wide and varied. With your future so full of possibilities, we encourage you to explore your options fully before making any big decisions.
Social Bookmarks:
FlexonLabs [ A Unit of Flexon Technologies Limited ]
A/27, Armstrong Avenue, Bidhannagar, Durgapur, West Bengal -713212
Phone No: +91 800-114-6000 / +91 947-453-0936
Email Id: Flexonlabs2010@Gmail.Com, Info@Flexonlabs.Com
Navigation
ProfileCoursesGlobal CertificationScholarshipPlacementFranchiseContactsDownloadsNoticeBoardEventsSeminarBoot Camp

 
Visitor: 53780
All Rights Reserved by FlexanLabs | Designed & Developed by Flexon Technologies Limited