i ve build a very small cms that a user can install to a web server (apache). Its about school pages. I am writing this piece of info because i have tested it enough and it had been and still is working fine for several users.
Yestarday, a friend tried to install the pages but the log in system did not work.
The login system works like this (very brief discription):
the users writes to a form the username and password
then connects to the database and checks if the username and password exists.
If all that exists the system writes some info to sessions and redirect to login page.
The login page reads the info from session (if that info exists) and screens out welcome message.
it seems that, there is nothing written to session and the page just refreshes.
Of course i have started the session at the very beggining of every page involved. Also the folder i am keeping the sessions is set to 777 mode.
PHP Version 5.3.5-1ubuntu7.2
I suspect that it is about a server setting. I do not know which.
Does anyone have any ideas. I will post some code if the description i ve made is not enough.