| | |
do cookies contain passwords??
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
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 |
Tag cloud for Java
actionlistener android api apple applet application apps arguments array arrays automation balls binary bluetooth card chat class classes client code component consumer database draw eclipse ee error event exception file fractal free game gameprogramming gis givemetehcodez graphics gui helpwithhomework html ide image input integer j2me j2seprojects java javaprojects jmf jni jpanel julia jvm linux list loop machine map method methods migrate mobile myaggfun netbeans newbie nextline nls notdisplaying number oracle output print problem program programming project recursion recursive scanner screen security server set size sms socket sort spamblocker sql sqlite string sun swing terminal test threads time tree trolltech windows






