What are cookies?
A cookie is a small string of text sent by a web server to a user (usually a web browser) that is stored in a client’s computer as a regular file. It allows the server to identify the user by checking the cookie sent by the user. Such a mechanism was introduced because the HTTP protocol itself does not maintain long- term connection to the server, and the server treats each new request of a client as a new client.
Cookies are most often used for user authentication (when a user enters his or her username and password, the server sends a unique text string to the user’s computer, after which it can be determined that the user is logged in), maintaining a session, and storing user-specific information. By using cookies, the user transforms the website according to his or her wishes and interests.
It is also possible to block cookies, but once this is done, problems can occur as some of the functions offered by the website may not work or may even be denied access to. Different browsers have different ways to block cookies. Cookies, like any other file, can be deleted, but this means that settings made on the basis of cookies will not be saved.
Types of cookies and their use
Types of cookies
There are two types of cookies – session and persistent cookies.
Cookies are also classified as first-party or third-party cookies.
Session cookies, also known as transient cookies, allow the website to identify your browser and device, the Internet Protocol (IP) address assigned to your device when you visit a particular website, to remember any changes or selections on that website so that they can be used in other sections of the website, for instance, to give you access to other, restricted sections of the website after you have successfully logged in and until you log out. These cookies allow you to use several pages of one website quickly and easily, avoiding the need to log in to in order to visit each protected section of the website. Session cookies are not persistent – they expire when you close the browser or end your session on the homepage.
Persistent cookies are cookies that are stored on your device, from which you view the website, for a specific predefined period of time, in which the time is counted after the end of the website browsing session. These cookies allow the website to apply the user’s choices or actions on the website every time you visit this website.
First-party cookies are cookies created by our website.
Third-party cookies are cookies from websites that do not belong to us. The domain names of such websites are different from the domain of our website. Third-party cookies may also be stored on your device from which you browse our website.
Should you have any questions, suggestions or comments about the cookies policy or would like to report personal data breaches, please write to [email protected] or call +37166118465, or send a letter to SIA SEMARAH HOTEL MANAGEMENT, Skanstes Street 7 k-1, Riga, LV-1013.