Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 18795 программистов и 1632 робота. Сейчас ищут 1795 программистов ...
Auth::setAuth()
Вернуться к: Auth
Auth::setAuth()
Auth::setAuth() – set a specific user to be marked as logged in
Synopsis
void Auth::setAuth ( string $username )
Mark the session up to indicate that the username supplied has successfully logged in. Although normally used for internal purposes this function can be used to fake a login.
Parameter
- string $name
-
the name of the data field
Note
This function can not be called statically.
This function will also call session_regenerate_id() so as to prevent session fixation attacks.
Вернуться к: Auth