Questions tagged as 'cookies'

1
answer

Get cookies from a session started with HTTPClient on android

I do a post with android and HttpClient on a page, but I need to know a way to get the cookies from that connection. This is the code I use to make the post public static void postData(Activity activity, String user, String password) {...
asked by 08.04.2014 / 22:28
1
answer

Control daily image views [closed]

   I do not want the script ready, just know the best strategy. Personally, I'm having a hard time figuring out how best to control the amount of daily views of a banner. For example: I have a BD with 500 banners (name, link, image, days...
asked by 03.02.2017 / 02:16
0
answers

What's the difference between Local Storage, Session Storage and Cookie? [duplicate]

What is the difference between Local Storage , Session Storage and Cookie ? What is the purpose of each one of them and what sets them apart?     
asked by 17.05.2017 / 16:58
3
answers

How to use a cookie as Javascript Array?

Doubt: I would like to know a way to use Cookie , as if it were a Array . Problem: I can not figure out how to do this. Example: Suppose I have a Array called Foo which would be as follows: var Foo = ["qua...
asked by 03.02.2014 / 14:34
1
answer

Good practices for a login system Sessions / Cookies

I would like to know some important points when it comes to making a login system: Sessions Cookies Which one is most appropriate for security issues? Which uses less server resources? (case in a large application) Which is the f...
asked by 06.08.2016 / 21:06
2
answers

Save login input text

Personal I need to record 2 fields of the login screen of my program, I want to give facility to the friend that has logged in, he does not need to enter things like company code, and email. I tried to use the autocomplete but it did not have an...
asked by 03.03.2016 / 18:24
1
answer

Which characters can I not use for cookie names?

I am developing a new authentication system, to reduce complexity and increase security. And I'm developing a system where some authentication cookies will have randomly generated names for each session. My question is: Which character set sh...
asked by 28.08.2014 / 16:19
1
answer

Is it possible to inject cookies into a website?

Suppose the following situation: When I access a website (technology forum), this site would inject cookies so that when I visit another site (store that sells products), it counts that visit as the origin of the first site (similar to an aff...
asked by 29.01.2015 / 14:54
2
answers

Cookies for Smart Search in E-commerce

I want to do, for example, on Saraiva's website: link When doing a search (eg "Hitchhiker's Guide to the Galaxy") the url is directed to a smart search url: link They are totally different but identical sites, and they import the...
asked by 19.02.2014 / 12:38
1
answer

What is the storage difference between session, cookies and localstorage? [duplicate]

Where is the storage location for each of them? the local storage I heard that it is html5 and is better than session and cookie , what is the difference between them?     
asked by 29.09.2018 / 20:09