• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inconsistency in HFSJ (Chapter 6)

 
Sen Aff
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

there seems to be some inconsistency in chapter 6 and i would be
glad if someone can help me out.

on page 249, it says "Setting max age to -1 makes the cookie disappear when the browser exits"
this means if you set max age to -1 the session will expire when the browser exits.

on page 273(Question 3,answer A) says "A session whose timeout period has been set to -1 will never expire"

this two pages seems contradictory. could anyone throw more light to that?

thank you.

sen aff.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are getting confused between Cookies and Session. Session timeouts and cookies' max age are two different things. Try to re-read the chapter carefully
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic