I am coding a "closed" BBS, only registered users can read and send messges.
I don't have a database connection, so I use textfiles as a database.
That is why each user has a personal file where all the data (password, email, profile etc.) is kept.
Here is what I would like have in my BBS.
1. When a user log in the script would make a session for the user.
2. When user who has logged in performs some action the script would check if the session is still valid.
3. When user does nothing within 30 min. he/she would be kicked out (session will be removed).
4. A who's online function which shows users who are online and what they have done and when.
I have tried to do this but always come across some kind of problem which I can't solve.
I don't need the code, necessarily, but a working idea how to build this kind of system.
Thanks a lot!