bitrix-sessions
CommunitySecure Bitrix sessions with flexible storage
Authorbxmaximum
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Bitrix session handling is error-prone when developers bypass the Session API and touch global $_SESSION directly. This Skill provides a consistent, secure interface using Bitrix\Main\Application::getInstance()->getSession() and related tools, preventing issues like read-only modes, kernel vs local sessions, and separated session storage.
Core Features & Use Cases
- Use Application::getInstance()->getSession() to safely read/write session data via ArrayAccess.
- Leverage Kernel sessions, Local storage sessions, and separated mode to optimize performance and scale.
- Switch storage backends (redis, memcache, database, file) with sane defaults and automated persistence.
- Enforce security practices like regenerating session IDs after login and avoiding direct use of $_SESSION in code.
- Typical use cases: shopping carts, user preferences, per-user flags, CSRF protection.
Quick Start
Use Application::getInstance()->getSession() to manage your app session instead of $_SESSION.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bitrix-sessions Download link: https://github.com/bxmaximum/bitrix_ai_challenge/archive/main.zip#bitrix-sessions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.