sasi Posted March 30, 2007 Share Posted March 30, 2007 Hello everybody, I want to know where these cookies and sessions are actually used and what is main purpose of using them. I know how to create them but i am unable to understand the need/necessity of them and where they are actually used. And one more thing i want to run php program in the unix platform as a thread(means for every half an hour it is to be executed),the main moto of that file is converting the unix log file(date format) into the MySql date format and after that writing that result data into another file and after that it is to be loaded into the database. Can anybody provide the documentation reagarding these issues. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted March 30, 2007 Share Posted March 30, 2007 these Are used to store small amount of databases into users PC. as of when you login to check your mail the site remembers your username and sometimes both user name and password. these are done by cookies and sessions Quote Link to comment Share on other sites More sharing options...
jitesh Posted March 30, 2007 Share Posted March 30, 2007 Session and cookies are such kind of mechanism which you can use for some temparaly data storage. Session expires when browser is closed. Session cookie also expires when browser is closed. In persistent cookie you can define a time for cookie expire. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.