Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-11-22 18:31:54
- leafy_loader
- Member
- Registered: 2008-09-25
- Posts: 96
ign_password plugin - user does not stay logged in
I’m using the ign_password plugin. When logging in it works fine, it accepts the correct username/password combo and takes the user to the members area which is simply a page protected by the <txp:ign_if_logged_in> conditional. The problem I have is when the user navigates away from the members area it logs that user out.
I can’t work out what the issue is, can anyone give me any pointers to what could be the issue?
Offline
Re: ign_password plugin - user does not stay logged in
Is this an issue only for a local setup? Because I have effectively solved that one for me by setting up a virtual host on my machine. It seems to be working so far (fingers crossed).
I think my problem was to do with the specification for cookies, which requires a domain.
But if this is happening on a live server, then I can’t offer much help sorry.
Offline
#3 2009-11-23 08:36:21
- leafy_loader
- Member
- Registered: 2008-09-25
- Posts: 96
Re: ign_password plugin - user does not stay logged in
It’s happening on both local and live. I set up a virtual host on my machine too but it’s still doing it. I’m at a loss now :(
Offline
Re: ign_password plugin - user does not stay logged in
Make sure you check that the cookie is being set. The cookie for ign_password_protect starts with “ign” so its a dead giveaway.
Offline