Artificial intelligent assistant

history.backが、成功したり失敗したりする理由は? **1** <a href="#" onclick="history.back()"></a> > () Chrome * * * **2** 22()1 <a href="#" onclick="history.go(-2)">2</a> * * * **3** history.back() Cookie jshistory * * * **4** () session_cache_expire(0); session_cache_limiter('private_no_expire'); session_start(); Cache-Control: private, max-age=0, pre-check=0 * * * **5** PHP`<!DOCTYPE html>` meta <?php header("Cache-Control: private, max-age=0, pre-check=0"); ?> * * * **6** meta <meta http-equiv="cache-control" content="private" max-age="0" pre-check="0">

1


* * *

* 1




"#"URL(A)
(history.back())
"#"URL

A
``
``

"history"
`history.length`1)
PHP
"location.replace"
Style

* * *

* 2



URL
URLHTML5HistoryAPI
()

* * *

* 3






"history.back"
Chrome


`window.onbeforeunload`……


()



* * *

* 4



PHP



//0()
session_cache_expire(0);
//HTTP
//
session_cache_limiter('private_no_expire');
//SESSION
session_start();



`private`

`max-age=0`0
`pre-check=0`IEIE

* * *

* 5



PHP`header` ****
HTML
`header`
PHP`header`

* * *

* 6




`http-equiv``content`


xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d8b45556d9105f79ce2b6b05d6b8146f