473,394 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem in session using php5

1
Title: Problem in session using php5




Good day,

I use php5+mySQL4+IIS5.x

Previuosly i use php4 and no error occur,
after i uninstall php4 and install php5,
error happen.
--------------------------------
error message:
24lmnsndeh7pkibp65mttcajo7PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload\sess _24lmnsndeh7pkibp65mttcajo7, O_RDWR) failed: No such file or directory (2) in C:\cty\test.php on line 2 PHP Warning: Unknown: open(C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload\sess _24lmnsndeh7pkibp65mttcajo7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload) in Unknown on line 0
--------------------------------------
my code to test:

<?php
session_start();
print session_id();

?>
If i test my code in php4,is work well!but when i change to php5,it have error.
i check my php via phpinfo(); ,
i found something unnormal:

session.save_path---> C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload

What should i do?
How to setup php5+IIS5.x with the correct method?
What should i check after setup?
Hope u may provide me a good solution on y problem since i post my problem to many forums but no one able to solve.
TQ
Dec 9 '06 #1
0 1978

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Roger | last post by:
Hi folks, I have a PHP web app, that runs with Register global off. It sets $_SESSION variables that are used in other pages. The script works fine on my server that runs Apache2 and PHP 5.0.1....
0
by: vishal | last post by:
hi today i read php5 and mysql book and i came to know that if cookie is enabled on client machine then php will use cookies to handle sessions else if cookie is disabled on client machine...
0
by: Craig Morey | last post by:
I run Apache2 and PHP5 and most of the time it works fine with my scripts. Then occasionally, and it doesn't seem to make any difference when, I'll get php session errors, saying that that...
1
by: fufik | last post by:
Hi, I'm trying to connect to an application server using sockets. Everything is fine with a small exception. I would like to store socket in session, so that I wouldn't have to reconnect at...
0
by: Joseph S. | last post by:
hi all, debugging PHP applications interactively is possible, easy and free. I am talking about PHPEclipse and using it for debugging over several scripts or debugging through a session. Since I...
4
by: awebguynow | last post by:
My Auth code works locally but not on my host, and I'm debugging it to find out, why not. Except where noted, I'll be referring to my webhost's configuration. I'm using a .htaccess "AddHandler"...
5
by: PaowZ | last post by:
Hello There! I'm trying to handle sessions using php5, but having some troubles to design it.. Ok, I have to use "session_set_save_handler()" to override session management but I don't really...
0
by: Xinhao Zheng | last post by:
Hello everyone, i have a problem with session in IE. we use php5+debian+mysql5.It works well in firefox but the session will lost now and then in the IE.Because it was happened now and then so i...
3
by: jansi1975 | last post by:
My scripts have been working since past 3 years. But now recently the page doesn''t work well. The page is working well under php4 in localhost but in the server side this seems to be error. on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.