Questions tagged as 'session'

1
answer

What is the difference between cookies and sessionStorage / localStorage?

I understand the difference between localStorage and sessionStorage, but what is the difference between cookies vs local / session? Which has more security, advantages, etc.? Which one is better to use? Greetings and thanks.     
asked by 21.09.2018 / 19:23
1
answer

Error passing object by session in php

I'm doing a login, and the type of user is a different object, that object in the code that it queries if it works well, use a var_dump to the session variable where I used it and it works well, epro when I sent it no longer works. Login.php...
asked by 19.12.2016 / 05:11
2
answers

Limit session time

I need help to limit the time of inactivity in HTML PHP My code is as follows: inicio-php<br> session_start();<br> if (isset($_SESSION['usuario'])) {<br> ?> <p>Aqui va mi codigo HTML</p> inicio-php<br>...
asked by 15.08.2017 / 00:16
1
answer

Collect parameters in session JEE

I have a small application where the first thing that appears is a login form. Where if the user correctly enters the data access to the menu page where you can save some records in the database. The problem is that I am not saving the session c...
asked by 26.02.2018 / 17:26
2
answers

Error when entering the access system, the session is lost and data is recorded failed when entered correctly?

When the user enters correctly with the access data to the system, it registers in the database failed attempts in the following tables.    failed_attempt This table posts every failed attempt as a registered or unregistered user, all faile...
asked by 26.09.2017 / 06:41
3
answers

save several parameters in a single session

I have a question with PHP , I make a form with only input , and with 2 buttons, one to save and another to collect. The idea is that when you click on the save button, it will be stored in $_SESSION , as many variables as y...
asked by 18.02.2017 / 11:20
1
answer

Maintain the session when downloading the capcha

I have this code that I downloaded the captcha but I have to send the data along with the resolution of the captcha. My question is: How do I keep the captcha download session and send the form request along with the resolution of the captcha (I...
asked by 10.08.2018 / 18:48
1
answer

How to keep data in my session during all requests in Laravel 5.1?

Greetings, what I need is to keep some data sent from a form in an array that I store in Session de laravel, I'm doing it in the following way: In the routes.php I have: Route::bind('evento', function($slug){ return Deportes\Even...
asked by 07.07.2017 / 13:27
1
answer

How to control the time inside a form without taking any action

Good day community, I'm doing a case management form in ASP.NET, which consists of a grid (asp: gridview) of cases that users manage, which redirects to a form, if a user is in the form of one of all cases, no other can access ... that could...
asked by 16.09.2017 / 15:34
3
answers

How to end session automatically

What friends are I working on a project and I have this to close the session, but I would like to implement JQuery Confirm the problem is that I do not know how to do it, I have this code, which does the following with a sweet alert: var tim...
asked by 05.09.2018 / 23:15