开发者

How to allow anonymous creator of page to make changes, while preventing public access?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜