Hello
I'm in desperate need of help. I can't get PHP sessions to work
because session.save_path isn't set for some reason. phpinfo() reports
that session.save_path = "No Value". I have WinXP Pro, Apache 2.0.55
and PHP 4.4.0 server configuration.
No matter what I put in session.save_path in php.ini, I just keeps
saying session.save_path = "No Value". Have tried "c:/windows/temp",
"c:\\windows\\temp", "c:/temp" with and without the quotes but to no
avail.
I've restarted Apache server each time after modifying the ini. Also
the php.ini path reported by phpinfo() seems point to the correct
file.
TIA. 3 9961
"Charlie" <us**@usa.net> wrote in message
news:rc********************************@4ax.com... Hello
I'm in desperate need of help. I can't get PHP sessions to work because session.save_path isn't set for some reason. phpinfo() reports that session.save_path = "No Value". I have WinXP Pro, Apache 2.0.55 and PHP 4.4.0 server configuration.
No matter what I put in session.save_path in php.ini, I just keeps saying session.save_path = "No Value". Have tried "c:/windows/temp", "c:\\windows\\temp", "c:/temp" with and without the quotes but to no avail.
I've restarted Apache server each time after modifying the ini. Also the php.ini path reported by phpinfo() seems point to the correct file.
TIA.
Make sure that you are editing the right php.ini
On Wed, 14 Dec 2005 20:41:43 +0100, "J2be" <in**@nospamj2be.com>
wrote: "Charlie" <us**@usa.net> wrote in message news:rc********************************@4ax.com.. . Hello
I'm in desperate need of help. I can't get PHP sessions to work because session.save_path isn't set for some reason. phpinfo() reports that session.save_path = "No Value". I have WinXP Pro, Apache 2.0.55 and PHP 4.4.0 server configuration.
No matter what I put in session.save_path in php.ini, I just keeps saying session.save_path = "No Value". Have tried "c:/windows/temp", "c:\\windows\\temp", "c:/temp" with and without the quotes but to no avail.
I've restarted Apache server each time after modifying the ini. Also the php.ini path reported by phpinfo() seems point to the correct file.
TIA.
Make sure that you are editing the right php.ini
phpinfo() says it's using the same ini I edited. There's no other
php.ini files on my system. Workaround that seems to work (albeit
ugly) is to call session_save_path() each time before session_start()
from the PHP script.
If you're using XP your windows directory is probably c:\winnt so use
the line session.save_path = c:/winnt/temp and make sure there is such
a directory. If not create it.
Charlie wrote: On Wed, 14 Dec 2005 20:41:43 +0100, "J2be" <in**@nospamj2be.com> wrote:
"Charlie" <us**@usa.net> wrote in message news:rc********************************@4ax.com.. . Hello
I'm in desperate need of help. I can't get PHP sessions to work because session.save_path isn't set for some reason. phpinfo() reports that session.save_path = "No Value". I have WinXP Pro, Apache 2.0.55 and PHP 4.4.0 server configuration.
No matter what I put in session.save_path in php.ini, I just keeps saying session.save_path = "No Value". Have tried "c:/windows/temp", "c:\\windows\\temp", "c:/temp" with and without the quotes but to no avail.
I've restarted Apache server each time after modifying the ini. Also the php.ini path reported by phpinfo() seems point to the correct file.
TIA.
Make sure that you are editing the right php.ini
phpinfo() says it's using the same ini I edited. There's no other php.ini files on my system. Workaround that seems to work (albeit ugly) is to call session_save_path() each time before session_start() from the PHP script. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Cooper |
last post by:
hello,
i have problem with session, reading on the manual of php.net, i have
understood that:
PAGE1.PHP:
session_start ();
$_SESSION = myVarValue;
and for read in:
|
by: Charon |
last post by:
I am running php 4.3.4 Win 32 as a module with Apache 1.3.29.
I am trying show this modification in the php.ini file
session.save_path = C:\PHP\phpsessiondata
But when I restart then then go...
|
by: Arne Morken |
last post by:
I'm unable to get sessions to work properly with the combination
Apache 2.0.49 / PHP 4.3.6 / Windows XP.
The data is written to the correct place (according to php.ini), but
they are not read in...
|
by: Damien |
last post by:
Hi to all,
I'm currently re-designing our intranet : nice and lean CSS2, cleaned-up
PHP 4.3.7, better-normalized MySQL ;o). So I've started using the
$_SESSION variable instead of register_globals...
|
by: neilphan |
last post by:
Hi guys,
I'm using PHP and Apache. How do you configure Apache so that it
allows the use of php and session data. I get the following error:
Warning: session_start():...
|
by: mudge |
last post by:
I'm running PHP Version 4.3.10. I'm trying to make it so that when a
person logs in using a user name and password that their session is
valid and continues for a few months so they don't have to...
|
by: Jootec from Mars |
last post by:
For about a month now I've been ripping my hair out and cussing a lot as
to why PHP4 running on my Win2K dev box has not been writing the
$_SESSION variable correctly to session.save_path at the...
|
by: joseph conrad |
last post by:
Hi,
I tried to implement my own session handler in order to keep control on
the process
the drawback I foun it is not creating and storing in my cookie the
PHPSESSID variable anymore.
reading te...
|
by: voronwae |
last post by:
Hi folks. Either I'm missing something really obvious (most likely) or
I'm missing something really subtle. I've been building up a machine
as an IMP webmail server, with php 5.1.2, cyrus-sasl,...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |