3 thoughts on “Learn Working with Sessions in PHP

  1. Nice tutorial I have not been familiar with this…
    I have a bit silly question….
    Does the session variable which is declared in one php file remains available in other file untill the session close function….

    I have been trying to do so in my login page for website…..!!!!

    1. Yes, just remember to use session_start() at the beginning of the files and you will be able to use the session variables between the two pages. Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *