Logging user out without using &LOGOUT_URL.
520817Sep 9 2008 — edited Sep 10 2008This should be fairly easy I would think.
I have a "Logout" link in the upper-right hand corner that uses the &LOGOUT_URL. variable so that the user can logout and return later to log back in. The &LOGOUT_URL takes them back to the login page (page 101).
After the user has completed this rather lengthy, multi-page form and clicks a submit, I process the form, lock-out their account (just a flag in their record so they can not log back in), and then, I'd like to log them out and redirect them to a "Your account has been locked and you have been logged-out" page.
So I don't think I can use the &LOGOUT_URL. variable since that directs them to the login page (page 101) and I want to keep that as it is.
I need some other way to log them out that fires off of the submit button.
I guess my problem is that I know how to branch to the &LOGOUT_URL when the submit button comes in the REQUEST. But now that I want to branch to a page other than the login page 101, I'm not sure how to do that.
Gee I hope that made sense 8-)
Thanks.