Novice wrote:
> We have a link to an external site in one of our modules and am wondering how I could log the users out of our site before directing them to the external URL.
>
> For example: <a href="http://www.yahoo.com">Go to Yahoo</a> When they click on this link, I want to first log them out. We cannot have any Javascript as it is a 508 compatible site.
>
Have the href be a URL that points back to your site instead of directly
to Yahoo. The action for that URL would be to log the user off, then
redirect to Yahoo.
The problem with this approach is that if the user looks at the target
href (for example in the status bar when the cursor is hovering over the
link) it will be obvious that the link isn't really directly to Yahoo.
Whether this is really a problem depends on your specific application
and user base.
--
mikeb
|