I’m having a strange issue with a site after moving servers from a testing location to a live location.
I have a logout button:
{if logged_in}<li><a href="http://{path=LOGOUT}">Logout</a></li>{/if}which works fine in the testing location, but after moving to a new server there seems to be an issue with sessions - when you click the logout button you get the generic logout success message but the logout button is still shown.
If I change the session setting in the control panel from Cookies only to Session Only or Cookie and Session it works which makes me think there is something with the way I’ve moved the website meaning I’ve missed something?
I used the add-on Reelocate to change all the paths to the new server and the website works fine, but just think I’m missing some cookie or session parameters somewhere, but can’t see where?
Could anyone help at all?