- Posts: 2
Moodle Logout
- Nathan Bingham
- Topic Author
- Offline
- New Member
-
Less
More
14 years 10 months ago #1
by Nathan Bingham
Moodle Logout was created by Nathan Bingham
Hello
My question is can i set Moodle to redirect users on logout to e.g. www.bbc.co.uk . Is there something I can set in the getout.php file?
Thanks
Nathan
My question is can i set Moodle to redirect users on logout to e.g. www.bbc.co.uk . Is there something I can set in the getout.php file?
Thanks
Nathan
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
14 years 10 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle Logout
Sure, you can modify that file to put your desired URL instead.
Also, did you try setting a logout redirect url on joomla login module?
Also, did you try setting a logout redirect url on joomla login module?
Please Log in or Create an account to join the conversation.
- Nathan Bingham
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
14 years 10 months ago - 14 years 10 months ago #3
by Nathan Bingham
Replied by Nathan Bingham on topic Re: Moodle Logout
Thanks Antonio for the reply. I have tried the joomla module redirect but that didn't work. I have changed the getout.php file to..
"<?php
/* Redirect browser */
header("Location: www.bbc.co.uk ");
/* Make sure that code below does not get executed when we redirect. */
exit;
?>"
and this works for my users that authenticate through ISA but not the users that authenticate through the joomla login. My ISA users get redirected to bbc.co.uk but those who log in using joomla hit my isa login form.
I will be looking at the ISA box and Moodle authentication next to see if they are the problem.
Thanks
Nathan
"<?php
/* Redirect browser */
header("Location: www.bbc.co.uk ");
/* Make sure that code below does not get executed when we redirect. */
exit;
?>"
and this works for my users that authenticate through ISA but not the users that authenticate through the joomla login. My ISA users get redirected to bbc.co.uk but those who log in using joomla hit my isa login form.
I will be looking at the ISA box and Moodle authentication next to see if they are the problem.
Thanks
Nathan
Last edit: 14 years 10 months ago by Nathan Bingham.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
14 years 10 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Re: Moodle Logout
Don't know what happens.
Try not using header, but javascript as I do in the real getout file.
Try not using header, but javascript as I do in the real getout file.
Please Log in or Create an account to join the conversation.