remember me function |
[eluser]iijb[/eluser]
Hi all, I have implemented remember me functionality as this question on stackoverflow forum first answer. I created a cookie with a random number code as value and it stored in db(user table). On login, db code checks with cookie value.It works fine on my localhost server. But in live server which has a subdomain url has problem.Also I tested it with another server with ip address as url. There also it is not working. In both cases cookie created but cant read the cookie. Please help me. Thanks in advance iijb
[eluser]PhilTem[/eluser]
Please show us the sections Session Variables and Cookie Related Variables of your config.php. I once had a similiar problem due to a wrong setup within the Cookie Related Variables. And maybe you can help yourself by using Code: log_message('debug', 'Message to log'); within your auth-process so you see where the process gets a false negative result. Otherwise post the important snippets of your code. Within the code-tags, please! |
Welcome Guest, Not a member yet? Register Sign In |