1
tayling
redirection on logout
  • 2012/8/27 10:31

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi
I am working on a version XOOPS 2.0.18.1 doing some pre upgrade maintenance and have an urgent need to redirect the user to a differnt urlon LOGOUT.
WHy? We have a new version on a diffetn url but a database application is still running on the XOOPS 2.0.18.1. SO we are redirecting them form the new site bit need to redirect them back to the New version on logout.

I have tried changing user.php redirect_header in the if op=logout area but it doens t work

Any help gratefully recieved

Regards
Tony Ayling

2
irmtfan
Re: redirection on logout
  • 2012/8/28 4:19

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


hi tayling
add redirect_header for external links like this:

redirect_header("http://www.google.com", 3, "Your are going to google.com" , true, true);

Also if you want to upgrade to 2.5.5 i recommend you to use the full package 2.5.5

Edit:
I test the above and found you should write the full URL of the external link (http://www.google.com instead of http://www.google.com)

Login

Who's Online

309 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 309


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits