I have a simple form that can be filled in and saved by users without logging in. I want the user to be able to view and make changes to the form they complete for the duration of their visit, while preventing anybody else from accessing the page (i.e. via /page/1 or pa开发者_如何学JAVAge/edit/1).
How can I do this without making the user create an account immediately?
Thanks.
I'd store in session the id
of the created pages. It would be straight to check whether or not one page belongs to the user or not.
精彩评论