La table session permet de gérer les sessions utilisateur en base de données, elle a la particularité d'utiliser par défaut le moteur de stockage MEMORY, qui utilise la RAM du serveur plutôt que le système de fichiers.
Table d'origine | Champ d'origine | Table de dest. | Champ dest. | Type champ dest. | Index | Extra | Null | Module | Modèle | Attribut | SQL SELECT |
---|---|---|---|---|---|---|---|---|---|---|---|
session | session_id | VARCHAR (50) | PRIMARY | Non | Core | Session | id | ||||
session | user_id | INT (11) | Non | Core | Session | user_id | |||||
session | data | VARCHAR (255) | Oui | Core | Session | data | |||||
session | security_key | VARCHAR (32) | Non | Core | Session | security_key | |||||
users | user_agent | session | user_agent | VARCHAR (255) | Oui | Core | Session | user_agent | |||
users | current_page | session | referer | VARCHAR (255) | Oui | Core | Session | referer | |||
users | ip_at_reg | session | ip_address | VARCHAR (39) | Non | Core | Session | ip_address | |||
session | ip_forwarded | VARCHAR (39) | Oui | Core | Session | ip_forwarded | IFNULL(ip_forwarded, ip_address) |
||||
users | current_planet | session | planet_id | INT (11) | Non | Core | Session | planet_id | |||
session | created_at | DATETIME | Non | Core | Session | created_at | |||||
users | onlinetime | session | updated_at | DATETIME | Non | Core | Session | updated_at |
Evènement | Champ | Valeur |
---|---|---|
CREATE | created_at | NOW() |
CREATE | updated_at | NOW() |
UPDATE | updated_at | NOW() |
Type | Champs | Nom | Extra |
---|---|---|---|
PRIMARY | session_id | PRIMARY |
Moteur de stockage | Charset | Interclassement |
---|---|---|
MEMORY | UTF-8 | utf8_general_ci |