Hello all, I have a few questions about passing my session ID's around.
Something about PHP's built in session manager rubs me the wrong way, and both as a learning experience and just to see if I can make a system that works better for me, I'm trying to make my own session management class.
I actually ran across an older thread in which mrmufin shared some detailed info on how he manages sessions (thank you mrmufin, I know I didn't even post but your info was really helpful).
My question is regarding passing the sid around. Right now cookies make things really easy, but when it comes to using the GET and POST methods of passing the sid, will it be necessary to manually append the SID to every GET and manually insert a hidden field for every POST?
Will I have to insert a hidden sid field in every form I have, and append the sid to every clickable URL on my site, or is there an easier way?
It's easy for me to use PHP's session handler and pull the sid out of session variables, but it also doesn't feel as secure to me.
I have also thought about using a combination of methods: using PHP sessions but maintaining a session DB to verify and track every session (like check IP, agent, etc. with sid entry).
Thanks for any help, knowledge or ideas in advance!