How is session hijacking typically prevented in a servlet-based application?

  • By disabling session tracking
  • By increasing session timeout
  • Using HTTPS
  • Using servlet filters
Session hijacking is typically prevented in a servlet-based application by using HTTPS to secure communication between the client and the server, encrypting the session data to prevent unauthorized access.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *