Questions tagged as 'session'

1
answer

How to do a session

I have a system that has a login page, but it only sees if there is that email and password that the user typed in the database and releases it to the main page. Now I needed to create a profile page for this user so the system needs to know...
asked by 13.04.2018 / 13:58
1
answer

Send Cart Session via email with PHPmailer

I have this code that shows the results of the items you have in the cart <?php session_start(); require_once "functions/product.php"; require_once "functions/cart.php"; $pdoConnection = require_once "connection.php";...
asked by 27.08.2018 / 14:44
0
answers

Slim Framework is not recognizing saved sessions

Well, my directory in the slim framework was standard .. /public /vendor /src /cache /app between the other folders .. and within / public The index.php was calling the other files and folder normally .. require __DIR__ . '/../ven...
asked by 08.09.2018 / 05:07
0
answers

Passing Javascript / Jquery variable to PHP

I'm trying to pass a variable from an external JavaScript file to PHP , getting its value again, but it gives an error when I try to pass to PHP in> and make the request of POST in Ajax . Anyway I tried, the variable does not pass . I...
asked by 25.08.2018 / 23:36
0
answers

Doubts the transitions of an object between Beans JSF

I have a login class that instantiates a CLIENTID attribute in the session after the client logs in LoginBean.java public void efetuarLogin() throws IOException{ cliente = clientePU.clientePorEmail(email); System.out.println(email);...
asked by 16.08.2018 / 20:43
0
answers

CakePHP 3.6.X not working Session correctly

When using Session in CakePHP 3.6.4 it does not read the session data created on other pages, but on the same page it shows the value. echo $this->request->getSession()->write('Ref.url', 'valor2'); echo 'Ref: '.$this->request->g...
asked by 17.06.2018 / 16:15
0
answers

Set value in session in Database

I'm trying to use a database session SESSION_DRIVER=database I'd like to know how to set the session in the specific column too I'm trying this way Session::put([ 'login' => $login ]); But do not save anything, I real...
asked by 19.06.2018 / 13:10
0
answers

Laravel shares session

I have a system A where I store a session $login = $request->input( 'login' ); $request->$session()->put('login', $login ); And a system B that stores the session: $request->$session()->put('tentativa', 1); Every tim...
asked by 28.05.2018 / 18:50
0
answers

Session on Wordpress pages

Good morning my dear, I'm facing a following problem: I have a website that is being managed by Wordpress, one of the pages are password protected, the first time I enter the page it asks for the password to access, but after closing the tab or...
asked by 28.05.2018 / 14:09
0
answers

Adding Values

How do I get the form information from a PHP page and populate that information on another page? Without losing the latest information? Code <?php session_start(); ?> <html> <head> <title>Pedidos</title>...
asked by 08.05.2018 / 02:55