implement a session based auth system ask clarifiying questions before starting
- User
implement a session based auth system
ask clarifiying questions before starting
Assistant
I'll help you implement a session-based authentication system. Let me ask some clarifying questions to ensure I build exactly what you need:
Technical Stack & Framework
- What programming language and framework are you using? (e.g., Node.js/Express, Python/Django, Ruby/Rails, PHP/Laravel, etc.)
- Are you using any specific database? (e.g., PostgreSQL, MySQL, MongoDB, Redis)
Session Storage
- Where would you like to store sessions? (e.g., in-memory, database, Redis, file system)
- Do you need sessions to persist across server restarts?
Authentication Requirements
- Will this be username/password based, or do you need support for other methods (OAuth, SSO, etc.)?
- Do you need features like "remember me" functionality?
- Should sessions expire after a certain period of inactivity?
Security Features
- Do you need specific security measures like CSRF protection, secure cookies, or session regeneration?