Connecting Tech Pros Worldwide Help | Site Map

session cookies in WINNT folder?

  #1  
Old July 17th, 2005, 09:45 AM
Theo
Guest
 
Posts: n/a
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)?

Cheers
  #2  
Old July 17th, 2005, 09:45 AM
Zurab Davitiani
Guest
 
Posts: n/a

re: session cookies in WINNT folder?


Theo wrote:
[color=blue]
> 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)?[/color]

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.
  #3  
Old July 17th, 2005, 09:45 AM
Theo
Guest
 
Posts: n/a

re: session cookies in WINNT folder?


Zurab Davitiani <agt@mindless.com> wrote in
news:UkL3d.21788$_Z5.19207@newssvr27.news.prodigy. com:
[color=blue]
> Theo wrote:
>[color=green]
>> 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)?[/color]
>
> 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.
>[/color]

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