Forums Register Login

Automatic login

+Pie Number of slices to send: Send
Hi All,

Is the following post accurate: Automatic Login

In other words, is automatic login with Servlets a pipe dream? I have been trying to implement this with sessions, however I cannot get around the problem of session cookie getting deleted when the user closes their browser. I do not have the desire or the time to implement my own session tracking. Is there any other solution?

Thanks
+Pie Number of slices to send: Send
Article looks ok.
You can store login info in cookies explicitly & retrieve those cookie and log in the user automatically. (You don't store the actual user name & password in the cookie, just maybe an id or something so you can look up the user)

Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1156 times.
Similar Threads
Window session problem
[Spring Security] Images ain't get rendered
Deleting session deletes all my sessions
Deploy a webseerver with Tomcat using Linux from console
Difference between Cookies and Session in servlets
The WEB SERVICES and JAX-RS Course
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:26:46.