This topic is locked

redirect on logOUT

10/6/2009 10:55:53 PM
PHPRunner General questions
W
wfcentral author

is it possible to do a page redirect on the EVENT logout?
my client wants the user to be taken to the site homepage after they logout.

J
Jane 10/7/2009

Hi,
unfortunately there is no 'logout' event.

You need to edit generated login.php file manually for this purpose. Find and edit this code:

if(@$_POST["a"]=="logout" || @$_GET["a"]=="logout")

{

...

}