Hi!

    It have been a while that I don't remember how did I jogged MS-IIS's
memory or something.  Perhap a baseball bat will help.  I'm not here to ask
for help on writing script for session ID or stuffs like that.  I'm here
asking for help in jogging IIS's memory with a baseball bat.

    When I use the PHP command, session_start and tested it out on the
website.  I get an error messages saying as shown on the clipping down
below....  This is the script I use alone.

<?
$salt="C4155DDAF13A529594FB7C2541F4D4C7";
session_start($salt);
?>

    This is the error messages....

--clip--
Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR) failed: m
(2) in D:\DealPack\.......  on line 24

Warning: open(/tmp\sess_C4155DDAF13A529594FB7C2541F4D4C7, O_RDWR) failed: m
(2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line 0
--clip--

    I can see the problem with "/tmp" so I looked through the PHP.INI and
modify the script.  The line of code here goes from .... to .....

--clip--
>From ...
session.save_path         = /tmp    ; argument passed to save_handler
session.cookie_path       = /       ; the path the cookie is valid for

To....
session.save_path         = \tmp    ; argument passed to save_handler
session.cookie_path       = \       ; the path the cookie is valid for
--clip--

    I even created the folder 'tmp' on the c:\ drive.  I stopped the website
then I stopped the IIS.  I then start the IIS then start the website.  When
accessing this script on the website, I still get the same error.  The
problem here is that IIS does not actually refreshed or restarted....  I
even rebooted the machine.

    I can use your help.  Thanks!

Scott F.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to