Skip to content

Tag: session

Setting a session in steps

Is it possible to set multiple session elements to the same session at different times? I have 2 classes and each class should set 2 session elements. What I’m getting back is an empty array. I am …

Passing variables to another page with url – PHP

I want to execute some PHP code by clicking on a link and Passing variables to another page with url Pleas help me. Such WordPress Site: https://www.armandl.com/?p=5123 Answer You set $_SESSION[‘status’] to 0 and then set it to 1, so it will always be 1. Additionally, the link you click has nothin…

logged user does not have all fields filled up

I’m using Symfony 2.8 and Doctrine and I have security.yml configured to point to the User class which implements UserInterface. My ORM schema is in YAML. The problem: In database the user has also specified “email” field, Symfony for LOGGED USER is not filling up that field and also “…