Distinguish, differentiate, compare and explain what is the Difference between Cookie and Session. Comparison and Differences.
Difference between Cookie and Session
1. Cookie are stored in the browser as text file format. Session are stored at server side.
2. Cookies can store limited amount of data. Session can store unlimited amount of data.
3. Cookie are less secure. Session are more secure.