Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $session = $this->getRequest()->getSession();
- $session->write('username', 'test');
- $session = $this->getRequest()->getSession();
- $username = $session->read('username');
- var_dump($username);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement