Password Expiry Notification required

Hello,
For the transaction flow script of web HTTP protocol which has login and logout for authentication.
Password gets expire after every 45 days and we need notification before the expiry.
Is there any procedure or function which we can use for it.

Tags: