I have 2 scripts, one processes an ajax request and sets a session in that script but I cant seem to get the session to work in another script... (echo the session out) on the same server just a different file?

Can anyone help?


Member Avatar


uou have session_start() at the top of each file I take it, even the ajax one?

The session_start() is in the top of the config file thats included on each page, does it not error is your trying to set a session and its not included... the script doent error at all...


Sorry!, it appears adding session_start(); again seems to have worked!

Thanks again.