How do I make a login system that uses sessions and cookies.

Discussion in 'PHP' started by wwwbryan, Jul 26, 2009.

  1. #1
    I want to make a a login system that uses cookies if the user has cookies enabled and lets say checked a remember me box or uses sessions if they don't has cookies enabled.

    How would I go about doing this?
     
    wwwbryan, Jul 26, 2009 IP
  2. Chikey.ru

    Chikey.ru Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Site will be writing with PHP?
    If yes you have to read about session and cookie in PHP, they really simple for learning.

    or you can write script of autharization special for yourself
     
    Chikey.ru, Jul 26, 2009 IP
  3. wwwbryan

    wwwbryan Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    No offense but that has to be the most useless post I have seen on this forum.
     
    wwwbryan, Jul 26, 2009 IP
  4. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    LoL yea, almost like you're talking to a bot.
     
    kblessinggr, Jul 26, 2009 IP
  5. Chikey.ru

    Chikey.ru Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    kblessinggr every bot will be more clever then me =(
     
    Chikey.ru, Jul 26, 2009 IP
  6. radio

    radio Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ^^^ that's clever.
     
    radio, Jul 26, 2009 IP