Users Unable To Login To My Site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthickassistanz
    New Member
    • Apr 2007
    • 6

    Users Unable To Login To My Site

    To whom to concern,
    I have a site of url http://workretail.co.u k/ but sigining in through this site produces problem.After entering the username and password and click "Sign In", it returns the same "sign in" page.I think it may a cookie problem and i could not solve it.Please somebody help me.Its very urgent.
    Thanks in Advance for your help.
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Changed thread title to better describe the problem (did you know that threads whose titles contain phrases such as 'need help' and 'urgent' actually get FEWER responses?).

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Heya, karthickassista nz.

      Please do not double-post. Thanks!

      Comment

      • eboyjr14
        New Member
        • Apr 2007
        • 27

        #4
        What do you have so far?

        I recommend using SESSIONS.
        They are very easy to use.

        In your php.ini file, when session.auto_st art is set to 1, you can just have a variable set that will save until the cookies are deleted or the browser is restarted.

        Just set them like this:

        $_SESSION['username'] = "eboyjr14";

        On the client side, they don't see the value of username, just an md5 hash of PHPSESSID by default.

        If session.auto_st art is set to 0, then you just have to call the function
        session_start() ;

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          I would also reccomend using sessions rather than cookies, as they are generally more secure.
          You can find more info on how to use sessions in this article.

          If, however, you provide some more information on you problem, some code and/or error messages, we might be able to help you solve it.

          Comment

          Working...