Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to reset cookie max age

 
yogesh srinivasan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to set max age of a cookie to 60 but the response gives maxAge as -1
Could any one help me




Output
Session.isNew=false
cookie name= cookie1 value= 1 maxAge= -1
cookie name= JSESSIONID value= 528959C4A05A6084DF6E878AA440000A maxAge= -1
session ID528959C4A05A6084DF6E878AA440000A
session MaxInactivInterval 1800
session attirbute1 value= 1
 
Sourin K. Sen
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try writing this line :

after this :


and then tell us the output...
 
yogesh srinivasan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but i'm basically trying to look at the new maxAge returned by the next request send by the same client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic