问题描述
您好,
我一直在测试我的网站并遇到了问题,我有一个页面,其中成员可以制作一个组合,让其他成员能够评价它,推荐它,喜欢它等。
我的所有页面都有相同的结构,所有页面都包含相同的文件,例如session.php等。会话工作正常,直到它们提交表单时,表单提交后会将其记录下来,并且由于客人无法使用这些功能,因此会向他们显示一条消息,说明他们需要一个帐户来执行此操作。
我'我不确定从哪里开始寻找这个,我会发布一个我的代码示例,但我不知道发布什么,不能真正发布整个事情。如果有人需要我发布任何特定内容,我会很高兴。
谢谢,
Jeigh
Hello,
I''ve been testing my site and have ran into a problem, I have a page in which members can make a portfolio, giving other members the ability to rate it, recommend it, favourite it etc.
All my pages the pages have the same structure, all include the same files such as session.php etc. The session works fine until they submit a form, when the form is submitted it logs them out, and as guests can not use these functions it shows them a message saying they need an account to do this.
I''m not exactly sure where to start looking for this, I''d post an example of my code but I don''t know what to post and can''t really post the whole thing. If anybody needs me to post anything specific up I''ll be happy to.
Thanks,
Jeigh
推荐答案
这篇关于提交表格时会失去会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!