It is stored at server side because PHP is server side scripting language
It is stored at the server side but a cookie is stored at the client side that contains the session information. Every request sent by the client to the server has that particular cookie with it.
Session is stored on server side because how much time page will execute it doesn't depend on client it depends on server. Server decide the session of each page ..thats why session is stored on server side
If you have to work with dates in the following format: "Tuesday, February 14, 2006 @ 10:39 am", how can you convert them to another format, that is easier to use?
How i will check that user is, logged in or not. i want to make it a function and i want to use in each page and after login i want to go in current page(same page. where i was working)?