SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict aniltc's Avatar
    Join Date
    Nov 2006
    Location
    INDIA
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cookie issues in php 5

    Hi all


    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.

    Thanks
    Last edited by spikeZ; Jul 18, 2009 at 09:33. Reason: url removed

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2009
    Location
    Austria
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •