Cookie issues in php 5
I have a login mechnaism in my website using cookie.I have some other sites link in my page.After I visit to that pages ,sometimes cookies in my pages is distroying automatically.I have set the cookie for the two hours.I am not able to understabd the issue.It doesn't happen all times.Some times mY cookie destroying fully and I will have to login again.Can any one suggest how it happens.
First I would check all cookie- and session-commands in your website. Do they use same names? How do expire and path look like?
If you canīt find any error, I would log all cookie-/session-actions in a txt-file (always with timestamps).
But without the program it is rather difficult to help you.