Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: t360
  • Order by date
  1. t360

    Cookie function getMaxAge() doesn't return always the same value!!

    Arg... I had some typo mistakes. Here is the correct code: Cookie cookie = new Cookie(&quot;test&quot;, &quot;some value&quot;); cookie.setMaxAge(86400); response.addCookie(cookie); try { Cookie[] cookies = request.getCookies(); for (int i=0; i<cookies.length; i++) { if...
  2. t360

    Cookie function getMaxAge() doesn't return always the same value!!

    This JSP code doesn't return the same getMaxAge(). Any idea why, and how can I fix that? Cookie cookie = new Cookie(&quot;test&quot;, &quot;some value&quot;); cookie.setMaxAge(86400); response.addCookie(cookie); try { Cookie[] cookies = request.getCookies(); for (int i=0; i<cookies.length...

Part and Inventory Search

Back
Top