Servlet-handling login cookies -
imagine user in java servlet program signs personal information. if wants re-use can log in username , password submitted before. want know how going check cookies stored in browser in order see if specific username followed specific password. wondering if cookies stored in same row added or stored randomly.
i know can check them writing this:
for(int = 0; i< cookies.length; i++) { cookie thiscookie = cookies[i]; if (thiscookie.getname().equals("usn")) //...
but there seems problem,as there number of usernames , passwords stored in browser linking between 2 of them specific.
Comments
Post a Comment