Posted in BLOG

What is a session?

 

In computer science, in particular networking, a session is a temporary and interactive information interchange between two or more communicating devices, or between a computer and user. A session is established at a certain point in time, and then torn down at some later point.

 



 

Session is server side request by the web browser for fast website surfing for every user.

Server side session:-

Server-side sessions are handy and efficient, but can become difficult to handle in conjunction with load-balancing/high-availability systems and are not usable at all in some embedded systems with no storage. The load-balancing problem can be solved by using shared storage or by applying forced peering between each client and a single server in the cluster, although this can compromise system efficiency and load distribution.

 



A method of using server-side sessions in systems without mass-storage is to reserve a portion of RAM for storage of session data. This method is applicable for servers with a limited number of clients (e.g. router or access point with infrequent or disallowed access to more than one client at a time).

 



Posted in BLOG

What is a cookie?

 

An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing.

Cookies were designed to be a reliable mechanism for websites to remember stateful information (such as items added in the shopping cart in an online store) or to record the user’s browsing activity (including clicking particular buttons, logging in, or recording which pages were visited in the past).

Cookie generates on client side.

 



When you search for any website URL it may be any educational website or E-commerce website. When you went through any of them it download a cookie file on your web browser like google, Firefox or UC browser etc..

These website generate cookie on your browser for next time better surfing on there website.

some of the trustworthy website use cookie for better experience but some of the cookie like third party cookie when download to our web browser it may be leak our privacy.



For example:-

When we went through any online wallet registration form or login form our web browser asked us to save your username and password when we save that username and password to our web browser third party cookie leak our privacy.

Third party cookie

So some of the cookie are good for us and some are not.

we can change our web browser setting by choosing enable or disable button for cookie.

safe browsing is our right so it depend upon you how you want to be browse.

cookies data are encrypted.

 

Origin of the name

The term “cookie” was coined by web browser programmer “Lou Montulli”. It was derived from the term “magic cookie”, which is a packet of data a program receives and sends back unchanged, used by Unix programmers.