Log out troubles
Permalink 1 user found helpful
Hello, We are a company with about 15 sites built on 1 C5 installation.
We use domain mapper. We have 11 websites, 4 extranets
My issue is logging out of extranets.
The way I logout is placing buttons in the footer for each extranet with this code
<a href="/login/logout">Log out</a>
The problem is it redirects them back to the main domain of our global website.
If people are on the Danish extranet, I would like it to log them out and redirect them to the Danish homepage. If people are on the US extranet, I want to log them out to the USA page.
I can change the footer for each extranet, so using separate HTML code is not a problem
I have tried <a href="http://danish-website.com/login/logout">Log out</a> and it does direct them to the Danish website, but it doesn't actually sign them out. The back button takes them back into the extranet still logged in.
I have tried also pointing to the danish website using the page ID number <a href="http://www.main-domain.com/index.php?cID=6841/login/logout>Log out</a> and that doesn't log them out either
IS there anyway i can make them logout and go where I want them to Danish extranet to the Danish website, USA extranet goes to the USA website, etc...
Regards,
Scott
We use domain mapper. We have 11 websites, 4 extranets
My issue is logging out of extranets.
The way I logout is placing buttons in the footer for each extranet with this code
<a href="/login/logout">Log out</a>
The problem is it redirects them back to the main domain of our global website.
If people are on the Danish extranet, I would like it to log them out and redirect them to the Danish homepage. If people are on the US extranet, I want to log them out to the USA page.
I can change the footer for each extranet, so using separate HTML code is not a problem
I have tried <a href="http://danish-website.com/login/logout">Log out</a> and it does direct them to the Danish website, but it doesn't actually sign them out. The back button takes them back into the extranet still logged in.
I have tried also pointing to the danish website using the page ID number <a href="http://www.main-domain.com/index.php?cID=6841/login/logout>Log out</a> and that doesn't log them out either
IS there anyway i can make them logout and go where I want them to Danish extranet to the Danish website, USA extranet goes to the USA website, etc...
Regards,
Scott