can you post a bit more of your session code? some basics:
- did you start your session? (
session_start()
) - did you check whether your save path has proper permissions (not mentioned in OP)
- session.save_path is really just the directory sessions will be saved into. if you are on a shared service, it may be better to set it to a different directory than the default temporary directory (as your sessions would be intermingled with other app's sessions as well, and could potentially lead to a greater chance of session collision)
- if you are altering session configurations (like
save_path
, these must be set previous to callingsession_start()
.
Owen
2008-10-07 21:20:40