In the user function I have the following lines of code;
if request.args(0)=='login':
form.element(_type='submit')['_value']='Login'
session.alert='alert-success'
if request.args(0)=='logout':
session.alert='alert-success'
login_next and logout_next are both set to the cms/index function which
starts like this:
alert=[]
if session.alert:
alert=session.alert
The problem is that in case of login the alert is set correctly, but in
case of logout isn't set at all. What's the difference between login and
logout that causes this difference in behaviour?
Annet.