Added: 3 years ago
From: phpacademy
Views: 46,505
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (65)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • how to logout a particular user

  • thanks for the vids

    

  • good vedio thank you

  • awesome...

  • Hi! first i wanna say, your tutorials is BEST!!

    and i woundred: "How do i set how long a SESSION would be ?" like 1 hour 2 hours.

    Please help :)

  • @skatee41 You can't. If you want to set the time until expiration, you must use a cookie. The session expires when you disconnect from the respective page.

  • where are sessions stored? i mean if you don't close the browser.

  • i got session in 1 file and trying to echo it in another file but it doesn't work ,help

  • Comment removed

  • Alex, you rock man. If coding was like the music, you would have a lot of fans! Thank you for all your tutorials!

  • Hi ,need a PHP exercises book or website.

    thanks

  • @aviramster I used PHP6 and MYSQL 5 by Larry Ullman, very good... got me a very good understanding of the basics and even some of the intermediates...

  • & i wanna ask dat how i can give different admin different level of access

  • @riteshmlk uhm gues to make functions where you can for example delete users from a userdatabase and make those visible only for people who have a 1 or 0 on a specific place of a userdatabase

  • its very good to understand the basics of session

    but i think some thing more can be done to explain the practicle use of session

    i mean you should make us understand by example of a project.....

    thanks a lot

  • mmmm coookies..

  • I am getting the following error

    Notice: Undefined index: name in C:\xampp\htdocs\session.php on line 10

  • sir

    becouse of you now am a small php developer

    thanks a lot god bluss you

    i always use to watch ur tutorial only also i'm recommending to my friends who all are intrested to learn php

    you will rech the top of the nation one more time thanks alot

    by

    abdul vahab

    from bangalore india

  • Quick and to the point! awesome! Thanks man!

  • Hey, great tutorial. I was wondering if you could make a vid on how to make a session like when you open the page it tells the users that are on. I.E: Users online: Jack, Mike, Alex

    Thanks

  • In the past 3 months, I have gone from not knowing what PHP is to building a LAMP and using PHP and MySQL to build a server and website for our internal network at my job. Your videos have been a huge part of my fast learning, and I am eternally grateful for that!

  • Thank you very much!

  • thank you, so simple and clear!

  • thanks..its look easy.

  • I must say you are BY FAR the most intelligent and well spoken person who teaches PHP and web design. I went from having no idea how to make a database or use PHP to being able to send secure emails and create login/registration forms. Thank you for all the work you've put into teaching everyone.

  • you are the best man.....you keep things so much simple that an average learner like me also grabbing the concept easily...awesome...

  • you are absolutely awesome!

  • This will be so helpful for my project. Thanks alot. Keep it up

  • Comment removed

  • Learning PHP is easy, following the changes is tough

  • thnx dude^^ you give us a better explaination~ more power dude. ROCK ON! i really need to master PHP and MYSQL

  • Comment removed

  • Comment removed

  • Thanks for this video-tutorial.

  • Alex, Can you extend the Explanation related to session and session id?

    Your voice is very good and self explaining about your Personality!

  • I am making a session in html and when i put my php inside html when i look at the source i can see the php tags. Is there way of hiding the source or should i just make cookies?

  • nice video

  • thanks, but my qs are?

    "I've a data submit page(submit.html), i can submit data such name,age,email,comment etc. And I also display that in another page(display.php) , using php mysql code". now my qs are....

    i. I want to log in to display data, what should i do?

    My answers: first time i create user and password table, write code(php,mysql etc) for log in(log_in.php). then what I do? how I will make relation between display.php and log_in.php page? etc

    thanks for reading my qs.

  • Awesome!! I love your tutorial!! And your presentation is very easy to understand. Fantastic!!

  • Alex, could you do a tutorial on sessions where your actually doing it in a project, say a login form from your other tutorial, logging in to a message board.

  • Excellent tutorials. Very simple and understandable. Thank you Alex.

  • It was very useful dude Thankx

  • thanks very much , GOD bless you

  • thank u Alex .. realy ur tutorials is Very good and helpful .. Good Luck

  • hey i can not get my session things working. I am trying to log a person on and then use sessions to remember user name and password. Could i send code for check?

  • why is i use the $_session['username']; for changing password, it does'nt work?..it always tell that undefined index: username but i always declare my username correctly in my index page, login page also in logout page..

  • you are a great teacher.I am new to PHP and your video tutorials are extremely helpful...thank you.

  • man this is super helpful, thanks.

  • Thanks a lot My Teacher!

    I enjoyed this lesson.

  • Thanks.

  • thanks lashtal, i understand now

  • Damn thanks a lot. Everytime i looked at one of your videos, i quickly understood.

    Better than all crapy books out there.

    You MUST win an award, thanks for your work.

    +1 the last comment.

  • You're welcome! I'm so glad my tutorials have helped you!

  • Alex, Can you extend the Explanation related to session and session id?

    Your voice is very good and self explaining about your Personality!

  • @conscofd Im agree with you!! I love you Alex from PHP Acadamy!! XD

  • its amazing how much you know about php alex

  • alex is the best, f... the rest.

  • Nice video. I'm a big fan of PHP Sessions when it comes to security. Btw, what screen recording software do you use? I love the amazing quality despite not using the built-in YouTube 'HQ" button. How do you fit the whole window into the screen record? Thanks. Again great video!! PHP rulezzz!!!!

  • Yet another VERY useful tut!

    Thanks a lot Alex!

  • if someone logs out with a session destroy function will it log other people out as well? It will clear all the sessions right?

  • No, it works uniquely to each user (connection). They have a unique ID and only that is terminated.

  • good tutorial but one question, Isee you put in alex in the setcookie function but how will a random user's name end up in the set cookie function??

  • Imagine you'd replace 'name' with a variable, and set that variable to a particular name.

  • Comment removed

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