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.

Параметр

string $name

the name of the data field

Заметка

Эта функция не должна вызываться статически.

This function will also call session_regenerate_id() so as to prevent session fixation attacks.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ