This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:session_start [2017/05/13 12:19] admin created |
uphp:functions:session_start [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | session_start() | + | ======session_start====== |
- | Start a new session and clear any existing session information. | + | < |
- | You can then set session | + | Initiate a new session |
- | For example: | + | ====Description==== |
- | $_SESSION[' | + | <well size=" |
+ | <span style=" | ||
+ | </ | ||
+ | |||
+ | This function will start a new session and clear any existing session information. | ||
+ | |||
+ | This is only applicable for HTTP initiated scripts. | ||
+ | |||
+ | ====Parameters==== | ||
+ | |||
+ | None | ||
+ | |||
+ | ====Return Values==== | ||
+ | |||
+ | None | ||
+ | |||
+ | ====See Also==== | ||
+ | |||
+ | [[uphp:uPHP Special Variables]] - Special arrays that are populated automatically (including | ||
+ | |||
+ | [[session_destroy()]] - Clear the current session' | ||
+ | |||
+ | [[session_is_new()]] - Check if a session was just initiated | ||