PHP Lesson 07: Keeping user logged in with Sessions

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
19,919
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 30, 2007

Code @: http://gorilla3d.s3.amazonaws.com/php-user-session.txt
Just a basic introduction to sessions in php.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • hi what i dont understand if we Make the cookie live for 2 weeks like that : session_set_cookie_params(2*7*­­24*60*60); session_start();

    the session will be saved for the next two weeks both in the client browser cookie and also at the server side or only one side ?

  • WHAT EDITOR ARE YOU USING?? ECLIPSE WHAT VERSION???

  • Most useful, informative, and down right great tutorial ever! Thank's a lot man!

  • your videos are very helpful keep it up.

    if i have suggestions on how to do a certain thing can you do that.

    thank you.

  • Don't know what problems others are having, but this worked perfectly. Thanks for your help!

  • I have a problem when I try this. I have checked 5 times that I did the exact same thing you did but still I can't make the php parts work. EX: when you did the "You are now logged in" part in the body of the html I just get a "You are now logged in" even though I did not log in and when I try to log in with the username and password I made it didn't say "Login successful". Dreamweaver CS3, notepad, conTEXT, Eclipse. Just won't work

  • Hey Joseph. Nice video. There is a Trojan at the other end of that link, man. I was hoping I could get some more info, but all I received was a Trojan. I took care of it though. I just wanted to let you know what the deal is with your link.

  • the IDE is eclipse

  • wow! that was just super helpful...

    cool things i learned:

    issset,

    sessions,

    and the cool use of curly braces (with the if statements at the end) that goes against the convention in most languages...rite?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more