| | |
do cookies contain passwords??
Thread Solved |
normally no, username maybe, but from a little I had read, some may contain your sessionId etc.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
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.
Stuck in the middle of Java/PHP/Ajax development?
For free help on any technology and free articles visit http://www.techcubetalk.com
For free help on any technology and free articles visit http://www.techcubetalk.com
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.
![]() |
Similar Threads
- cannot find server or DNS error (Web Browsers)
- help with asp.net/JS and cookies (ASP.NET)
- Cannot access hotmail on IE or MSN explorer (Web Browsers)
- Hijack log attached :Cannot access hotmail on IE or MSN explorer (Viruses, Spyware and other Nasties)
- Cannot access hotmail on IE or MSN explorer (Web Browsers)
- passwords (Web Browsers)
- System security software on XP (Viruses, Spyware and other Nasties)
- Passwords (OS X)
Other Threads in the Java Forum
- Previous Thread: Abstarc class and it's method implementation??
- Next Thread: Applet -more than one event handler
| Thread Tools | Search this Thread |
-xlint android api applet application array arrays automation bi binary blackberry block bluetooth chat class client code compile compiler component database developmenthelp eclipse error event fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide image int integer j2me j2seprojects java javac javaprojects jetbrains jni jpanel jtable julia learningresources lego linux list login loops mac main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying number online pearl problem program programming project qt recursion scanner screen server set singleton sms sort spamblocker sql string swing system textfields thread threads time title tree tutorial-sample update variablebinding windows working xor






