name
The session name references the name of the session, which is used in cookies and URLs (e.g. PHPSESSID).
$ php -a
Interactive shell
php > $ad = 'hello';
php > echo '<script type="text/javascript">window.location.replace('.json_encode($ad).');</script>';
<script type="text/javascript">window.location.replace("hello");</script>
php >