21 questions for “Sessions”

Found in 1 field. Select a question to see its full answer.

Information Technology

21 questions in 5 technologies

#QuestionTechnologyTopicLevel
1What are the security and architectural considerations of using stateless, token based authentication such as JWT instead of traditional server side sessions for an API? PHP › Sessions & CookiesPHPSessions & CookiesAdvanced
2What's the difference between localStorage and sessionStorage? JavaScript › Browser Storage & Web APIsJavaScriptBrowser Storage & Web APIsBeginner
3How do you implement a feature that forcibly logs out a specific user across all of their active sessions and devices? Redis › Session Management with RedisRedisSession Management with RedisIntermediate
4How do you monitor the total number of active sessions currently stored in Redis, and why might this metric be useful? Redis › Session Management with RedisRedisSession Management with RedisIntermediate
5How can Application Load Balancer support sticky sessions, and when is this feature actually necessary for an application? AWS › Elastic Load Balancing (ALB, NLB & CLB)AWSElastic Load Balancing (ALB, NLB & CLB)Advanced
6What is a session in PHP, and how does it let a web application remember information about a user across multiple separate page requests? PHP › Sessions & CookiesPHPSessions & CookiesBeginner
7What is a cookie, and how does it differ from a session in terms of where the actual data is stored? PHP › Sessions & CookiesPHPSessions & CookiesBeginner
8What are the httponly and secure flags on a cookie, and why are they important for protecting session cookies specifically? PHP › Sessions & CookiesPHPSessions & CookiesIntermediate
9How does PHP's session garbage collection work, and what settings control how long session data is kept before it is considered expired and eligible for cleanup? PHP › Sessions & CookiesPHPSessions & CookiesIntermediate
10What is session fixation, and how does regenerating the session identifier after a successful login help prevent this attack? PHP › Sessions & CookiesPHPSessions & CookiesIntermediate