3 Replies Latest reply on Aug 29, 2012 10:55 AM by ramp

    unable to set max for cookie

      hai <br>
      actually i am working on java ee6 web application i tried to set value and max age for the cookie...but i was uanble to set maxage what ever the max age value i give .it shows as -1.but my browser accepts and stores cookie.<br><br>
      Cookie sa=new Cookie("ssample", "welcome");