Chapter 32 Flashcards
1
Q
Why we need session
A
To track user information and steps etc
2
Q
What are 2 possible problems of session when user bookmark a page
A
- Session might expire
2. Session might recycle and use by another user
3
Q
Which method expires session
A
session.invalidate()
4
Q
What are HttpServeletResponse 2 methods for encoding
A
- String encodeURL
2. String encodeRedirectURL