In a similar vein to my previous question - I'm not a very experienced PHP Programmer. I know nothing about Sessions or Security (other that what I learnt an hour ago about md5 and sha1 with salt).
I have a login system, and I wish to create a session that stores and encrypted string of a user's username mixed with a timestamp. I know how to create the string, but I know nothing about Sessions or how they work.
I've spent the past hour Googling for a solution, but they all seem too basic or outdated, I'm looking for something that has concrete security, but is also simple (due to my inexperience).
How would I (on administrative pages) check to see if the user has logged in, assuming this string is encrypted?
I know there are similar questions but I need an answer from a complete layman's point of view as I do not know how to implement this solution.
Thanks for any help you can offer