PHPを介してlocalStorage(html5で定義)を空にする方法はありますか?
私はこのようなものが必要です:
<script type="text/javascript">
window.localStorage.clear();
</script>
<?php header('Location: '.$adress); ?>
しかし残念ながら、ヘッダーの前にjavascriptを呼び出すことはできません:(
これを解決する方法はありますか?
PHPを介してlocalStorage(html5で定義)を空にする方法はありますか?
私はこのようなものが必要です:
<script type="text/javascript">
window.localStorage.clear();
</script>
<?php header('Location: '.$adress); ?>
しかし残念ながら、ヘッダーの前にjavascriptを呼び出すことはできません:(
これを解決する方法はありますか?