Questions tagged as 'cookies'

1
answer

Why do you create a cookie with name ASP.NET_SessionId?

I have a project in ASP.NET MVC 5 in which when reviewing the cookies of my application there is one that is called ASP.NET_SessionId , which does not stop what it is and why it is created. Does anyone know anything about this...
asked by 14.06.2018 / 00:02
0
answers

How can I get the code of a web page with Java and using cookies

my problems is the following, I want to get the code of a web page, the problem is that I do not download it, I download the index, apparently the cookies are required to do so. Could you help me or explain how I can do this, please.     
asked by 30.05.2018 / 20:48
0
answers

Expressionengine 2.4 cookies

the truth is that I have fallen a web that I have to put in conditions due to the entrance of the regulation of cookies. This website is created with ExpresionEngine and generates the following cookies: exp_csrf_token exp_last_activity exp...
asked by 29.05.2018 / 10:46
0
answers

Pass several variables by cookies from JavaScript to PHP

I am trying to pass several variables per cookie from javascript to php, but I get that they are undefined. If I try to pass only one variable, if it works, I guess I'll have to treat it as an array, but I do not know how to handle it. JavaS...
asked by 25.05.2018 / 20:05
0
answers

asp.net mvc 5 create a collection of cookies

How can I create and recover a collection of cookies based on the same name of cookie or with different names? What I want to get to have would be something like this: httpCookie.Domain = "localhost"; httpCookie.Expires = Date...
asked by 09.05.2018 / 20:50
1
answer

Save a value of a link in Angular 5 to a cookie

One question, I'm new to this and I'm trying to take a value of one in angular 5 and pass it to ts of the component to save it in cookie . <a href="#" onclick="pulsar()" [routerLink]="['/rutas']" ng-value="Madrid" id="n...
asked by 14.03.2018 / 19:06
1
answer

Session problem: Apache (Proxy) + Tomcat 7 + Spring Security + Remember-Me cookie

Why does the user session not work correctly when it expires and is retrieved by the existing remember-me cookie? I have a strange error when I enabled the option to remember-me in Spring Security. When the session expires it does not redir...
asked by 22.11.2017 / 15:11
1
answer

How can I delete a cookie using jquery?

I am working on a login using cookies to save the user, but at the time of logout using jquery I want you to delete the cookie so that I have to authenticate again, how can I do that? try this line that I found on the internet: $.removeCoo...
asked by 14.07.2017 / 18:16
1
answer

Sessions php and cookies (laravel)

Can php (laravel) sessions be used or started if browser cookies are disabled? The problem is that when I disable cookies in my browser and send a form I get the following error:     TokenMisMatchException     in VerifyCsrfToken.php (line 68)...
asked by 15.06.2017 / 17:34
2
answers

Empty a cookie when logging

Good morning, how can I empty a cookie when logging? I was doing tests with unset but I did not empty the cookie. Cookie that is in the index.php and opens a welcome modal <script> function getCookie(c_name){ var c_value = do...
asked by 03.10.2018 / 07:24