Simulated landing pages prove cookie and session back buffer

Start of the experiment:

Introduction cookie

Simply put, the user cookie is to be recorded in the operation of the page and cached locally

This cache file is of limited duration, the user can set their own

Here I will help you understand a little experiment by

First, prepare two documents, of course, only one php file can also:

php file source

Introduction session

session is a temporary server-side caching technology, close the browser cache when it will be automatically deleted.

session php file source

html file source code

The results: a red box appears in the cached data is cooker

 

 

 

 

Published 22 original articles · won praise 0 · Views 728

Guess you like

Origin blog.csdn.net/cldimd/article/details/104663280