I know that I wouldn't get any responses anywhere else so here goes:
I am developing a web content editing tool via an web interface.
I want users to be able to add edit and delete content on an (inc) include file which basically is the body of the page.
Now when someone wants to add content and then edit right away, everything is fine. For this I am using sessions, so a session starts when they click on add so when they click on edit the session is picked up fron there and all params are passed on.
What happens when someone wants to edit a page out of the blue without first adding contect? There would be no session or it would pick up from the last one containing different information.
This really isn't a tech question as in help me out with code but, I need help figuring out a good method of handling this situation, probably not sessioning. I hope there are some PHP guru's out there to help me. I am stuck. Thanks guys.
I am developing a web content editing tool via an web interface.
I want users to be able to add edit and delete content on an (inc) include file which basically is the body of the page.
Now when someone wants to add content and then edit right away, everything is fine. For this I am using sessions, so a session starts when they click on add so when they click on edit the session is picked up fron there and all params are passed on.
What happens when someone wants to edit a page out of the blue without first adding contect? There would be no session or it would pick up from the last one containing different information.
This really isn't a tech question as in help me out with code but, I need help figuring out a good method of handling this situation, probably not sessioning. I hope there are some PHP guru's out there to help me. I am stuck. Thanks guys.