Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Struts
Maintaining user logins
Guy Belpa
Ranch Hand
Posts: 41
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Helo all,
I'm developing a web based billing system where i need high security.
I m using
Struts
in Sun-glass fish server V2.
Here is my prob,
i want to maintain user sessions.
i hav already develop login page where i checked the user name and passwords with DB.
But i need to DO sign out option and session time-out when user set idle ...
Thanks in advance..
David Newton
Author
Posts: 12617
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Logging out is simply a matter of removing the user object from session.
If the session times out there won't be a user in the session anyway.
This isn't really Struts-related; it's more of a
JEE
thing.
Guy Belpa
Ranch Hand
Posts: 41
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanks for quick reply..
but what realy i want to know is ,
how to handle sitation where user forgets to click 'SignOut'..
then anyone who use same browser can log using history..
isn't it?
David Newton
Author
Posts: 12617
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sessions expire automatically (usually) depending on how your server is configured. That is still not a Struts issue, however.
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to maintain user sessions?
i need to DO sign out option and session time-out when user set idle
content-type issue
IBatis - using user credentials
Ticket Management System
More...