Questions tagged as 'cookies'

2
answers

Store Click on cookie

I already searched the site here and did not find anything that could really help me. I think some of you can help me. This is the following, I created a link that gets the 'x' post ID via GET and with each click on that link an UPGRADE is pe...
asked by 29.05.2014 / 19:44
2
answers

How to tell if a person has clicked on a DIV or not

I have an ad and I want to know if the person has already clicked on the ad in the last 2 days. If it has already clicked, it does not appear, but if it did not click, it still appears. Something like this: <!DOCTYPE html> <?php...
asked by 14.10.2018 / 00:23
2
answers

Store array inside Cookie

Is it possible to store an array within a Cookie ? I'm trying this way: $carrinho = array(array('frete' => '', 'mercados' => array())); Cookie::queue('carrinho', $carrinho, 525600); But I get the error:    Argument 2 passed...
asked by 14.07.2018 / 18:44
1
answer

Write the user's Session / Cookie when signing in

In WEB applications, usually in the Login screen you have the Remind me option, this application will save the user data once it has checked the option. So when the user re-enters the site, instead of going to the Login screen, he will go...
asked by 31.01.2018 / 11:54
1
answer

Listen to an event in cookies

I'm developing an application to be used on two browser tabs. Eventually a tab modifies a cookie, so I need to refresh the other tab to load the correct information. Is it possible to hide a change in a cookie so that I can refresh the other tab...
asked by 07.12.2017 / 15:04
1
answer

Javascript redirect and set cookies

I have the following code with Javascript <script type="text/javascript"> $(function() { $("#loginForm").submit(function(event) { $("#success").css("display", "block"), $('#success').html("Autenticando..."); $('#...
asked by 01.07.2017 / 13:05
3
answers

Put an Array in a cookie in PHP

I have a query that returns me the hits of the user who just logged in. I need to turn them into an array and store them in a session and a cookie. Here is the code: //ARMAZENA AS PERMISSOES DO PERFIL DO USUARIO if($sql_permissoes->rowCount...
asked by 06.04.2015 / 14:44
1
answer

Session error in android httpclient

I'm trying to make an application to log into the college website, and through crawler I work the information returned by httpclient. Note: I'm doing it for learning, I started recently in Java. I make several posts because the college site h...
asked by 04.09.2014 / 21:46
0
answers

Error: Could not decode flash data from incoming cookie value Invalid characters in decrypted value [...]

How to solve this error of HIbernate? For the same is indicated as    Severe: JSF1094: Could not decode flash data from incoming cookie value Invalid characters in decrypted value. Processing will continue, but the flash is unavailable for th...
asked by 26.11.2018 / 18:09
0
answers

Save cookie when clicking inside a DIV [duplicate]

I have a DIV, in it goes ads .. and I want you to create a cookie of 2 days .. That is, Before loading the page it verifies if it has already clicked some place of the DIV in the last 2 days, if already it clicked it something else appears ins...
asked by 16.10.2018 / 02:05