Welcome Guest, Not a member yet? Register   Sign In
How to update certain session
#3

(This post was last modified: 06-26-2018, 09:27 AM by dave friend.)

Very easy.

PHP Code:
$_SESSION['email'] = "[email protected]"

This will also work.

PHP Code:
$this->session->email  "[email protected]"

The first is slightly more efficient and is what the documentation recommends. (See second paragraph of the linked documentation section.)
Reply


Messages In This Thread
How to update certain session - by falcon812311 - 06-25-2018, 06:02 AM
RE: How to update certain session - by php_rocs - 06-25-2018, 07:42 AM
RE: How to update certain session - by dave friend - 06-26-2018, 09:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB