Questions tagged as 'cookies'

2
answers

Why is it important to inform users of the cookie policy?

I've been browsing several sites that in their headers show messages like:    This site uses cookies to improve your browsing. By browsing the site you will consent to its use. It's okay that cookies are stored on the user's machine, but...
asked by 21.07.2017 / 16:58
3
answers

How does the session in web browsers work?

A session allows, for example, that I allow the user to remain logged, saving the information of who is logged in (user_id, for example). I think it's something more elaborate than cookies , otherwise I could modify my cookie "user_id" from...
asked by 25.07.2014 / 18:07
2
answers

Using $ _REQUEST instead of $ _GET, $ _POST, and $ _COOKIE

In PHP we have the global variable $_REQUEST that can be used instead of use the global variables $_GET , $_POST and $_COOKIE . For example: <?php // utilizar $bubu = $_REQUEST['bubu']; // ou uma das...
asked by 16.10.2014 / 12:43
2
answers

How to serve a multi-language site in Apache?

I'm developing a website that needs to be available in 3 languages (static content only, to be served by Apache). I would like to make use of the language detection features so that the user already fell into a version compatible with the langua...
asked by 02.06.2016 / 18:34
2
answers

How to do a regressive counter with javascript?

Hello folks I do not understand pretty much anything from Javascript, so for weeks I was trying to make a script that would do the following: 00:00:00 1st started a countdown of 20 minutes after clicking on...
asked by 17.05.2016 / 18:59
1
answer

Colapse Menu after page refresh with localStorage

How can I close a menu and keep it closed after the refresh of the page using jQuery only? It would be something like in this link . When you click the menu, the menu is reduced and so remains after the refresh page. When you click the...
asked by 16.04.2014 / 23:34
3
answers

Prevent cookies from being viewed / obtained with javascript

I was reading # The phrase in question is:    Create secure cookies that only work via HTTPS and are not accessed by JavaScript; My question comes up in this part, what are cookies that "are not accessed by javascript"? From...
asked by 11.04.2017 / 18:21
1
answer

Maximum number and size of cookies

While investigating cookies and their limitations, I came across this Microsoft page where they talk about Internet Explorer and its capabilities regarding Cookies: > Cookie Size and Number Limits in Internet Explorer   Microsoft Internet...
asked by 28.01.2014 / 00:31
2
answers

What are the advantages and disadvantages of storing session variables in the database?

As of Rails 4.0, the ActiveRecord Session Store , which saved session variables in the database, was deleted by "performance issues." But the functionality continues to work through a gem . Today Rails uses the Cookie Session Store .    A...
asked by 03.11.2014 / 11:52
1
answer

Use Cookies or Database?

I need to create a cart where I store more than one Example: ID_PRODUTO , ID_VENDEDOR I would like to use Cookies pro system to be lighter, however I found a big problem, Cookie stores the data in 1 line:    COOKIE VALUE =   ...
asked by 15.03.2014 / 23:52