How do I set password expire time period?

Answer Posted / cvsr.sarma

I created another column in my user table expiration date. When user signs up and created the password. added 90 days to current sysdate and inserted in expiration date.
When the user tried to login in the system will check expiration date is greater than the current date.
When the user update his password will change expiration date adding 90 days to current system date.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the lifecycle phases of a jsp?

561


HOW CAN WE COMPARE TWO PDF FILES USING JSP ?

2377


Differentiate between pagecontext.include and jsp:include?

534


What are the components of jsp?

514


What is jsp? Explain

547






When will container initialize multiple jsp/servlet objects?

522


How to send data from one page to another in jsp?

498


What is out in jsp?

505


How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

562


Explain pge Directives.

543


Can you stop multiple submits to a web page that are initiated by clicking to refresh button?

495


What are the three tags used in jsp bean development?

510


Write a simple example for the clone() method.

495


What are the different jsp element types?

509


Show the 2 types of comments in JSP.

553