Free
Download the package from the manager of your site.
How to download?
The author
Alexey Naumov
Packages
8
Downloads
5 724
Автор дополнения
Packages
8
Downloads
5 724
Version 1.2.0-pl
Release date 02.29.2024
Downloads 235
Views 190
Warning! This component requires PHP version 5.6 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.6 !
The component extends the standard session handler modSessionHandler, by adding the following columns to the sessions table (the new table is called modx_smart_sessions):

  • ip — user ip address;
  • user_agent — browser User-Agent;
  • user_id — user id if authorized.
Using this data, you can obtain expanded information about visitors to your site. And most importantly, you can set different session storage times for different site visitors.

Documentation: docs.modx.pro/en/components/smartsessions

1.2.0-pl

  • Добавлен столбец is_bot в таблицу modx_smart_sessions
  • Оптимизация скорости работы
  • Возврат настройки session_handler_class на стандартное значение при удалении пакета

1.1.2-pl

  • Исправлен баг с сохранением сессий с длинным ip

1.1.1-pl

  • Добавлен en лексикон
  • Добавлено управление сессиями с пустым User-Agent
  • В настройку bot_signatures добавлены еще несколько сигнатур

1.0.5-pl

  • Исправлена ошибка создания сессий для пользователей с длинным (>255 символов) User Agent

1.0.4-pl

  • Исправлена критичная ошибка при удалении старых сессий

1.0.3-pl

  • Изменения в установщике. Удален резолвер, который мог при удалении компонента удалить системные файлы MODX.

1.0.2-pl

  • Исправлена опечатка в классе smartSessionHandler

1.0.1-pl

  • Отдельное управление сессиями авторизованных пользователей

1.0.0-rc

  • Отдельное управление сессиями ботов
  • Автоматическое создание класс smartSessionHandler в директории /core/model/modx/

1.0.0-beta

  • First release.
  • Added user id, user agent, ip