[thelist] sending pop-up to client within asp
Brian Delaney
brian.delaney at mccmh.net
Mon Mar 7 06:31:12 CST 2005
I have written a password checking app when my users login.
If their password expires in 15 or less days I want to send a javascript
alert or confirm that informs them of when their password
expires. After they click ok, it re-directs them to the desired app.
The problem is that this codes works, but leaves the user at a blank page.
if vpwdexpire < 15 AND vpwdexpire <> 0 then
MsgStr = "Your password will expire in " & vpwdexpire & " days,
please change it."
Response.Write("<script language='javascript'>confirm('" & MsgStr &
"')</script>")
response.end
end if
The next line of code re-directs them to the application.
So how do I send the user a pop-up that informs them of when their
password expires and after they click ok, the program directs them to the
app?
If the password is = 0 it send an alert and send them to the login page.
Thanks
*
*
*
This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or priveleged information. Any unauthorized review, use, disclosure or distribution of this communication(s) is expressly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message.
More information about the thelist
mailing list