Questions tagged as 'cookies'

2
answers

Which is safer: session or cookie? [duplicate]

Thinking about security , what is the best option to keep the user logged in in an ASP.Net MVC application, cookie or session ?     
asked by 07.03.2016 / 15:03
1
answer

Curl cookies expires vs n / a

The question is, in network of the browser console says that cookies do not expire, see the image below: Butwhenyoutake(makearequestofthese)thesecookieswithcurlexpire:  ct0=e3197b1390ba24c4ae827fc6740344fa;Expires=Mon,Oct232017  14:21...
asked by 23.10.2017 / 10:31
1
answer

Passport Session Authentication on Android

I have a web app running with NodeJS, Express and authentication with Passport-JS, and everything works perfectly. Now I'm developing an Android app and I need to authenticate my users using the same API. From what I understand by reading...
asked by 14.12.2016 / 13:05
4
answers

How to delete COOKIES in PHP?

How can I delete COOKIES in PHP? I know that for sessions it has session_destroy() but for Cookies how do I do it?     
asked by 21.02.2016 / 19:22
1
answer

"keep connected" / "remind me" option in login screens

I'm implementing a login screen and my client asked to add a "Keep Connected" checkbox below the login credentials. Ok, adding is easy. But what is the correct behavior for this functionality? Is there any default behavior for these cas...
asked by 06.09.2015 / 06:15
2
answers

Run function only once after site loading

A friend passed me a script from a box that opens when someone enters the site, but refreshing the page appears again. Could you help me? Below the code: function timer() { jQuery('.cloudbanner').hover(function () { jQuery('#f...
asked by 15.05.2015 / 17:30
2
answers

Record session with javascript using cookie and a button

Hello, I put up a banner, where I need it when the user enters the site and clicks the GOT IT button it disappears and when the user re-enters the site or uploads another link does not appear anymore. Disappear I got it, but save the user with c...
asked by 18.12.2018 / 16:49
1
answer

Is there a way to access a cookie from a different domain?

Is there any way I can access a cookie from a different domain? For example: you have a cookie on facebook.com and I want to access cookie data inside my site www.fulano.com.br.     
asked by 12.02.2016 / 20:09
2
answers

Monitor PHP script processing

Does anyone know a way to monitor PHP code processing and display on the client? I'm designing a layout converter that takes data files in a certain format and converts them to another format. Basically, I would like to present to the us...
asked by 26.06.2015 / 16:49
1
answer

Get event click inside of iframe with jQuery

I'm using Google Forms to do a satisfaction survey on a website. On this site I show a bar at the top, asking the user to participate. If it closes the message, a cookie that expires in 24 hours is saved so that it no longer sees the message o...
asked by 21.08.2015 / 03:35