bool session_register ( mixed $name [, mixed $... ] )
Register one or more global variables with the current session
session_register() accepts a variable number of arguments, any of which can be either a string holding the name of a variable or an array consisting of variable names or other arrays. For each name, session_register() registers the global variable with th
If you want to store an object into the session, you have to check up that object can be serialized at all.
For example, if your object contains aggregated PDO object (which can't be serialized), you will get an error and no data would be stored.
aula 2977 php - Iniciando Sessoes session_start session_register gravando e lendo.avi
0 Comment:
Post a Comment