One way might be to make a new template containing an HTML meta refresh or JavaScript code on it to direct users where you want them to go. You'd then have to modify the 'Logout' link on the calendar template to point to the new template by adding "&template=Template_Name_Here" (without the quotes) to its URL.
JMO
Dan O.
------------------
Does that make sense?
And is what I suggested you continue use when I said "You'd then have to modify the 'Logout' link on the calendar template to point to the new [CalendarScript] template".
I didn't say to completely replace the link altogether. The way I suggested would still go through CalendarScript which should delete the cookies.
It is suppose to.
I'm afraid without being able to see it for myself, I couldn't say what is occurring.
If so, what I suggested above will probably not work since the new template is part of the calendar which they would need to be logged into to see.
<% if($main::in{command} eq "logout") %>
# meta redirect or JavaScript here
<% } else { %>
# current template code
<% } %>
Something similar should probably be used to remove the log-IN form from the page and also display a message about the redirect and also provide a manual link for browser which won't automatically forward users.
JFYI
Also, I needed to add a { on the first line, at the end, just so you know. Like this:
<% if($main::in{command} eq "logout") { %>
[This message has been edited by haldera (edited December 06, 2005).]
I never suggested a second page. All changes I suggested are in the very same template, just in separate places.
** I have to leave the logIN page, because I need customers to login. **
Yes but they don't need to do it when they just logged out (which is what the if($main::in{command} eq "logout") condition tests for) and are being redirected elsewhere. It will just limit what is seen by the user in between, hopefully reducing the possibility of them thinking they missed something (and maybe trying to go back... again and again and again, etc.). But it's up to you.
** I needed to add a { on the first line **
Good catch.