I have a small dilemma. I am programming an online classifieds program and I want to incorporate a user management system. I run into a small problem however.
If i am trying to print something like "Welcome back John Smith" I have to start a session to retrieve the $_SESSION array. Which means I have to call session_start() at the top of every page whether or not the client even has a user account or is logged in.
What i want to do is figure someway to avoid calling session_start() and creating a session with a user that is just browsing the website. I was thinking about maybe dropping a cookie onto the users machine but that is not reliable enough since cookies cannot always be accepted by clients.
Does anyone have any ideas about this?