Number Of Page View:100,000+/Months
LOGIN |New User


What is the different b/w session and cookies in php? 
The main difference b/n session and cookies in php are given below:
1.We store cookies in client machine and sessions in server machine.
2.Sessions are secured where as cookies are unsecured.
3.In cookies we stored limited amount of data,where as using session we can stored unlimited amount of data.
4.Session can store objects where cookies can store only strings.
5.Sessions work slower as compare to cookies.