Questions tagged as 'cookies'

1
answer

Retrieve Cookies in Authentication with Spring Security

How can I recover cookies when the user logs in through Spring Security and with the implementation of the AuthenticationProvider interface? If I retrieve an instance of HttpServletRequest from a class with a controller I have acce...
asked by 16.12.2015 / 13:02
0
answers

Android - Cookie HttpURLConnection

I have a native login screen on android, the user inserts login and password, and does a check via HttpURLConnection if the data is correct, if so it saves the cookie, and returns that login was done then is called a webview of this server, howe...
asked by 10.09.2015 / 13:38
0
answers

PopUnder that opens every 20min per IP

I need a popunder for my site that opens every 20 min. I am using a code, but this only allows it to be opened 1 only once ... var tags = document.getElementsByTagName("a"); for (i = 0; i < tags.length; i++ ) { tags[i].onclick = function(...
asked by 07.09.2015 / 15:27
0
answers

Get http request cookies [closed]

Good afternoon, I'm having trouble catching cookies when I make an HTTP request for a given address. Using firefox + firebug I display 5 cookies. Already through my program in Java I can only see 1 of them. follow the program code: public s...
asked by 01.12.2014 / 18:35
3
answers

Is there a way to decrypt MD5 in php? [duplicate]

Is there any way to decrypt md5 in php ? I need to decrypt the value that comes from a cookie to pick up user information     
asked by 14.03.2016 / 19:07
0
answers

How to configure the Java HttpClient to accept JavaScript and Cookies?

I need to get my HttpClient return to run a JavaScript and load cookies into it, does anyone know how to configure it so that it can be possible? Thankful     
asked by 16.06.2015 / 22:50
3
answers

How to get the username / visitor and write it on the screen?

Do you know how to ask the user name and use it? I'm setting up a website that is also a virtual store. I want the store to be very nice to enter, Asking her name, treating her well, saying "Okay, This item went to your cart, Amanda." But I'd li...
asked by 18.05.2015 / 02:58
1
answer

PHP - Create cookie with multiple values

Good afternoon, I am creating a script that will add cookies to the user account. The problem is ... I want to add multiple cookies for example: If the user clicks add on ad 1 he will create a cookie with ID 1.   In 2 hours, if the user cl...
asked by 05.10.2018 / 15:29
2
answers

Missing cookie (created in javascript) while switching pages

On the HOME page, I write an "x" value in a cookie. var dataAtual = new Date(); var expire = new Date(); expire.setDate(dataAtual.getDate() + 1); document.cookie = "NomeCookie=ValorCookie; expires=" + expire.toGMTString(); When accessing t...
asked by 23.06.2017 / 17:20
2
answers

Deleting PHPSESSID

I'm making a cart with $_SESSION and when the purchase is finished, I should clean or delete the PHPSESSID (which is auto-created). But I'm not able to delete or update. I've tried with unset() and session_destroy() a...
asked by 22.01.2018 / 07:10