Setting up sessions ---- HELLO????

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ericsodt
Forum Commoner
Posts: 51
Joined: Fri Aug 22, 2003 12:12 pm
Location: VA

Setting up sessions ---- HELLO????

Post by ericsodt »

I am starting each page with " <? start_session() ?> and I am getting an error about cache or something. I have the global set to on in the ini file, however it is still not working....

What do I have to change in my php.ini file to in order to enable session variables??

Basically how do I set them up, from setting the ini file to anything else that I might be leaving out...

thanks guys
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

about cache or something
Can we get a more specific error? Looks like you are missing the /tmp/ directory, but I'm not sure...
Last edited by JAM on Wed Aug 27, 2003 10:36 am, edited 1 time in total.
ericsodt
Forum Commoner
Posts: 51
Joined: Fri Aug 22, 2003 12:12 pm
Location: VA

Post by ericsodt »

I wish I had written it down, however I am at work and have no way of knowing... can you just go over how to enable sessions in the ini file, just so I can compare
JAM wrote:
about cache or something
{/quote]
Can we get a more specific error? Looks like you are missing the /tmp/ directory, but I'm not sure...
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Well, the area is pretty long, so I recommend http://se.php.net/manual/en/ref.session.php as a very good start. Still no luck, write down the error and return it here and we'll take it from there if noone else knows the problem straight up.

Good luck...
Post Reply