943,868 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 2416
  • Java RSS
Aug 27th, 2008
0

do cookies contain passwords??

Expand Post »
i would like to know wheather cookies handles passwords.if so where they contain.
Similar Threads
Reputation Points: 3
Solved Threads: 0
Light Poster
ravikiran032 is offline Offline
39 posts
since Jun 2008
Aug 27th, 2008
0

Re: do cookies contain passwords??

normally no, username maybe, but from a little I had read, some may contain your sessionId etc.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Aug 27th, 2008
0

Re: do cookies contain passwords??

No cookies are stored in client's machine and since they are not a secure enough to hold confidential information so they do not contain password. However as a text you can put password in cookies but you shouldn't do so. Password once validated should not be stored in any medium like cookies or session.
Reputation Points: 13
Solved Threads: 1
Newbie Poster
jack239 is offline Offline
14 posts
since Aug 2008
Aug 28th, 2008
0

Re: do cookies contain passwords??

Cookies should never contain passwords. You can have a cookie contain a session id. The session id can then point to a user in a database. From the database you can easily cross reference the user's password. By doing it this way you can have the session expire in the database after a few hours/days and also have the cookie to do the same.
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Aug 28th, 2008
0

Re: do cookies contain passwords??

they shouldn't, but that doesn't mean they don't...
It all depends on how the website was programmed.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Abstarc class and it's method implementation??
Next Thread in Java Forum Timeline: Applet -more than one event handler





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC