Multiple choice technology programming languages

Which of the following is used to check in particular page the session will be alive or not?

  1. ifAlive()

  2. checkAlive()

  3. isAlive()

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In servlet and web application environments, checking if a session is alive is commonly performed using isAlive() or isValid() APIs, or checking custom session attributes. The options provided here do not correspond to standard javax.servlet API methods, but isAlive() is the intended representation of checking active status.