note 112441 deleted from session.idpassing by googleguy
| From: | googleguy@php.net | Date: | Mon, 17 Jun 2013 01:26:01 +0000 |
| Subject: | note 112441 deleted from session.idpassing by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195250@lists.php.net to get a copy of this message | ||
Note Submitter: dallas at ekkysoftware dot com
----
if you can't use cookies or the url to encode the session id, then you can use the connection
IP, PORT or user agent to derive the session. For example:-
session_id(sha1($_SERVER['REMOTE_ADDR'].$_SERVER['REMOTE_PORT'].$SERVER['HTTP_USER_AGENT']));
session_start();