Questions tagged as 'session'

1
answer

CodeIgniter does not load session when reloading

I work in an application with CodeIgniter and I have the problem that when I reload the page or call another controller I lose the values of the session variables. I think so: $nuevoUsuario = array( 'usuario' => $this->...
asked by 02.10.2018 / 13:16
0
answers

Using $ _session with jquery ajax

I am trying to hide a php using $_SESSION but it seems that it does not pass the first file. Here I show my files: ajax.php $('.button').click(function(){ var value = $('#valor').val() $.ajax({ type: "POST",...
asked by 19.09.2018 / 16:32
1
answer

Sessions in Larvel

I have the management of a store and when I want to see the contents of the car Laravel is asking me to log in, the route was not protected with this validation and I do not know what can happen, this is the view controller for that action pub...
asked by 22.08.2018 / 16:43
0
answers

Show properties of an object in javascript

I am working on an application that has an object called SessionContext, this object has session variables that are sometimes persistent, inside the application (I did not do it myself) there are many get and Set for example: var ctx = new Ses...
asked by 15.08.2018 / 04:47
0
answers

Error with FacesContext.getCurrentInstance (). getExternalContext (). getSessionMap ()

Hello friends of the community. I am very new and I have a doubt. Inside a Servlet I have a message that I have to receive in a Java Class Controller to display it visually. From the servlet I send it with the following code: FacesContex...
asked by 06.07.2018 / 23:41
0
answers

validate repeated in session

Best regards, I would like to please help me with the following: I have the following values in session, what I want is to add the amount when the codes are equal Array ( [0] => stdClass Object ( [Insumo] => TA...
asked by 25.06.2018 / 16:51
2
answers

Active session in REST API

I need to know if a session is active or not. I have three pages .php : -Administration.php -Comparador.php -App.php The App.php page has an access form that connects to the application through a AJAX request. So far I c...
asked by 12.06.2018 / 13:50
0
answers

Sessions laravel

class ControlController extends Controller { public function anyadirCarrito($id, $quan) { $productoCarrito = (object)array( 'id' =>$id, 'cantidad' => $quan, ); \Session::push('cart', $prod...
asked by 29.05.2018 / 23:01
0
answers

variable null in php counter

I want to do a php counter that eliminates the session $_SESSION["error"] if a time has passed N. $_SESSION["error"] is accumulating the counts, 1, 2, etc. The problem is that the first time I see the echo returned the al...
asked by 30.05.2018 / 20:06
0
answers

extract data from a BD table called note in a shopping cart session for editing

hi greetings I would like to know if someone could help me, what happens is that I am developing an online store in which after saving my shopping cart in my bd, haora was born the need to edit the data of the cart that I keep in the bd, I have...
asked by 24.05.2018 / 08:27