session cookies in WINNT folder?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all

Looked around on the net for an answer to a question and havent found it
yet. Im learning to use sessions for authentication. So far so good.
Learned how to set variables, session cookies, delete, and all that good
stuff. And after many stops and starts it all seems to work.

But while checking out my WINNT folder on another matter I found several
session cookie files (sess_f8fjf838 etc). I assume they are from tests when
I did not log out of the sessions properly, delete the stored information,
or set expiration dates properly. However are these small files supposed to
go into the NT folder? Should/could I change it.. somewhere in the ini file
I guess? I like w2k... the only ms os I do like... but I dont particularly
like having things put into the windows folder if they dont have to be
there. And... where would the cookies go in a UNIX system (which is what
the host uses)?


Re: session cookies in WINNT folder?

Theo wrote:

Quoted text here. Click to load it

In php.ini, search for session.save_path. On Unix it should be set to /tmp
by default. Also it may be of interest to you to look at other session.*
settings including session garbage collector.

Re: session cookies in WINNT folder?

Quoted text here. Click to load it

Thanks, lots of interesting settings I never looked at before.

Site Timeline