当前位置:网站首页>Difference between cookie and session

Difference between cookie and session

2022-07-01 04:36:00 Rain |

Five differences :

Storage location :Cookie Store on client ,Session Store on the server

Security :Cookie unsafe ,Session Security

Storage size :Cookie Maximum 3kb,Session unlimited

Survival time :Cookie Long term storage ,Session Default 30 minute

Server performance :Cookie No server resources ,Session Occupy server resources

Be careful :

Server down ,Session Can recover

Browser closed ,Session Can't recover , because Session Of ID Does not exist.

原网站

版权声明
本文为[Rain |]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202160249141382.html