473,385 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

session cookies in WINNT folder?

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
Jul 17 '05 #1
2 1662
Theo wrote:
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)?


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.
Jul 17 '05 #2
Zurab Davitiani <ag*@mindless.com> wrote in
news:Uk*******************@newssvr27.news.prodigy. com:
Theo wrote:
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)?


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.


Thanks, lots of interesting settings I never looked at before.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Margaret MacDonald | last post by:
I was about to post a note here asking whether anyone could suggest why session_start() would create a new session each time, rather than reloading the existing one. My development environment is...
27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
13
by: Mimi | last post by:
Hello, I am having trouble using the session vars in PHP 4.3.9 OS: Win XP Prof Web Server IIS (is local and there are no links to other servers from the web pages I work on) Browser: IE 6.0 ...
3
by: PM | last post by:
I'm trying to make a kind of search history containing the 3 last searched words. So I'm using 3 Session Variables: Word1 / Word2 / Word3. In order to get this history working, I need to put the...
5
by: Roman | last post by:
Hi, I've installed .net on my server and since then I'm loosing my sessions from my (old) asp. e.g.: Session("test") works on the same page, but if the page is changed the whole session is...
7
by: Marcus | last post by:
I know that when you start a session in PHP, the "cookie" it creates is not the same as those that are stored in your browser's temp folder, and instead is kept in RAM. I am confused because in...
3
by: Jim Carlock | last post by:
I have a problem where session cookies get left inside the temporary folder. Is this a common problem or is there perhaps something I've over looked - there a way to make sure the session...
9
by: SA SA | last post by:
Hello i am not PHP expert - i need help big time. i am having issue with PHP session i think. I have two page login.php and admn.php As name implied login to log in to admin page manage...
3
by: damezumari | last post by:
To find out were session variables are stored I included this instruction in my program: echo ini_get("session.save_path"); The reply was /home/7604/data/tmp which is a folder on my server. I...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.