
Cookies are stored in browser as a text file format.It is stored limit amount of data.It is only allowing 4kb[4096bytes].It is not holding the multiple variable in cookies.
we can accessing the cookies values in easily.So it is less secure.The setcookie() function must appear BEFORE the <html> tag.
Sessions are stored in server side.It is stored unlimit amount of data.It is holding the multiple variable in sessions.
we cannot accessing the...