Solved

PHP Sessions seem to not work

Posted on 2006-11-02
6
1,887 Views
Last Modified: 2008-02-01
I'm trying to get egroupware to work, however it gives me the following error:
Your session could not be verified.

My php.ini session.save path is:
session.save_path = /tmp

and the /tmp directory looks like this:

drwxrwxrwx   24 root root   4096 Nov  2 05:10 tmp

I am able to su to any user on the box and write a file to /tmp

PHP version 5.2, Fedora core 2
0
Comment
Question by:nasteal
6 Comments
 
LVL 3

Expert Comment

by:MicahStevens
ID: 17858090
When do you get this error, after session_start()?
0
 
LVL 9

Accepted Solution

by:
lucki_luke earned 250 total points
ID: 17861493
0
 

Author Comment

by:nasteal
ID: 17862642
Actually that did work Lucki_luke, i switched from php sessions to SQL sessions and it works but gives me an error. Access not permitted. Anyway I'd like to figure out why PHP sessions do not work but i guess that's another topic.
0
 
LVL 16

Assisted Solution

by:ellandrd
ellandrd earned 250 total points
ID: 17876061
try setting the permissions to session can be written the tmp folder...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question