note 53089 deleted from function.session-start by betz
| From: | betz@php.net | Date: | Wed, 06 Jul 2005 05:56:39 +0000 |
| Subject: | note 53089 deleted from function.session-start by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91514@lists.php.net to get a copy of this message | ||
Note Submitter: dean at mistral-networks dot com
----
Many thanks to tech at insights dot net dot au for the solution of getting sessions working under
IIS.
Thought I'd post my findings of getting this to work:
IIS 6.0
PHP 4.3.2
I could only get the solution
<?
$id = 473483478383834;
session_id($id);
session_start();
?>
to work if....
I didn't use a custom session handling class i.e. just used PHP native 'files'
** AND **
the above code was called at the script level (or include file) and *NOT* from a function or class
method
Hope this helps others from suffering (:oD