Questions tagged as 'session'

2
answers

Laravel 5.1 problems with csrf_token

I have a problem in my site made in laravel, the following happens my application in laravel is not returning the Session Token that would be {{ csrf_token() }} when I perform an action like registering or logging the same I return the fo...
asked by 17.05.2017 / 14:40
1
answer

Split array according to payment types

index.php code <form action="add-to-cart2.php" method="post"> <label for="">Name</label> <input type="text" name="nome"> <br> <br> <label for="">Dinheiro</label> <input typ...
asked by 20.05.2017 / 20:44
1
answer

Authenticate with session storage

I have a login screen, where if the user logs a session storage with the required information, I also saw how I can read this recorded information, but how do I open a page through the URL to check if the session storage was if it is ok, let the...
asked by 14.04.2017 / 05:18
1
answer

Better options for SESSION?

I've always heard a lot of people say that SESSION is non-performance and that it was not advisable to use SESSION in .NET applications, but so far I have not found anything I can use in place of SESSION. What could I use instead of the SESSI...
asked by 18.04.2017 / 18:39
0
answers

Close PHP Session

Hello In my php file I have the code    page.php session_start(); $valor = isset($_SESSION['usuario']) ? 'S' : 'N'; if($valor == 'N'){ header('location: .'); } echo "Sesssao: ".$valor; To exit, in another file I do when clickin...
asked by 28.03.2017 / 15:08
0
answers

I can not recover the $ _SESSION with ajax and codeigniter

I'm having difficulty retrieving a $ _SESSION using native php session with ajax in codeigniter, since when I try to check the data it reports undefined. follow the code, already thanks to all. controller login if($user->cod_user == 1)...
asked by 10.03.2017 / 03:41
1
answer

PHP session with redirection time

I need help with a user session script in PHP with timeout, so if there is no activity on the page it will be redirected to an exit page.     
asked by 31.01.2017 / 09:04
1
answer

Javascript and asp.net [vb] webforms session

I have a javascript method that returns a string, In case: var hash = PagSeguroDirectPayment.getSenderHash(); How to put this hash variable in a session and read this session in asp. Dim hash as string = Session("sessionDoHashExemplo").t...
asked by 25.01.2017 / 22:35
1
answer

Error 1062 at some point in the database system

I'm experiencing the following error while running my app: Error Number: 1062 Duplicate entry '1484918130' for key 'PRIMARY' INSERT INTO sistema_session ( id , ip_address , timestamp , data ) VALUES ('5bb80caf2...
asked by 20.01.2017 / 14:24
2
answers

How can I not let the session expire in Joomla when it closes? (or last longer)

I have a real estate component installed. It has the option to add real estate to favorites and creates a list, but when I close and open the browser, regardless of how long it has closed, it deletes the list. Speaking to the developer he tol...
asked by 06.02.2017 / 12:32