为了保持URL和代码非常干净,并且避免使用 非常loooong url,我们使用$ _session []来存储值 页。 现在,我们有一些客户在进入 第二页时没有得到任何结果。在研究了他们的浏览器之后,机密性设置最多是 。在他们的设置上,网站运行不佳。 由于我们无法更改每个客户的设置,我们可以做些什么? 对于传递会话变量,只需将.SID放在 的末尾,因为我们没有这样做。 对于POST提交,我们要保留一些值,我们如何在表单标签上放置 SID? Bob
In the attempt to keep the URL and code quite clean, and avoid to have a very loooong url, we have used $_session[] for storing values trough the pages. Now, we have some clients that doesn''t get any result when going on the second page. After studying their browser, the confidentiality setting was at the maximum. On their settings, the site doesn''t work well. Since we can''t change the setting for every client, what may we do ? For passing session variable does it suffice to put a .SID at the end of every URL as we didn''t do it. And for POST submission, where we want to keep some values, how to we put a SID at the form tag ? Bob
推荐答案_session []用于通过 页面存储值。 现在,我们有一些客户在进入 第二页时没有得到任何结果。在研究了他们的浏览器之后,机密性设置最多是 。在他们的设置上,网站运行不佳。 由于我们无法更改每个客户的设置,我们可以做些什么? 对于传递会话变量,只需将.SID放在 的末尾,因为我们没有这样做。 对于POST提交,我们要保留一些值,我们如何在表单标签上放置 SID? Bob _session[] for storing values trough the pages. Now, we have some clients that doesn''t get any result when going on the second page. After studying their browser, the confidentiality setting was at the maximum. On their settings, the site doesn''t work well. Since we can''t change the setting for every client, what may we do ? For passing session variable does it suffice to put a .SID at the end of every URL as we didn''t do it. And for POST submission, where we want to keep some values, how to we put a SID at the form tag ? Bob
>为了保持URL和代码非常干净,并避免使用 >In the attempt to keep the URL and code quite clean, and avoid to have a 非常loooong url,我们使用了 very loooong url, we have used
_session []用于通过页面存储值。 现在,我们有一些客户在进入第二页。在研究了他们的浏览器之后,机密性设置最多是。在他们的设置,该网站不能很好地工作。 这可能意味着不接受会话cookie。 会话需要传递会话ID,以及 现有选择是(a)cookie或(b)URL。 因为我们不能改变每个客户的设置,我们可以做什么? 对于传递会话变量的确如此只需将.SID放在每个URL的末尾就足够了,因为我们没有这样做。 你需要以某种方式传递SID,这是一种方式。另外在trans_sid上看一下 ,这可能会做同样的事情,但为你节省了一些 的工作。它将会话ID放在URL中,除非看起来 cookie正在工作。 对于POST提交,我们想要保留一些值,我们如何设置 SID在表格标签上? _session[] for storing values trough thepages.Now, we have some clients that doesn''t get any result when going on thesecond page. After studying their browser, the confidentiality setting wasat the maximum. On their settings, the site doesn''t work well. This probably means that session cookies are not accepted. Sessions require passing the session ID around, and the existing choices are (a) cookie or (b) URL. Since we can''t change the setting for every client, what may we do ?For passing session variable does it suffice to put a .SID at the end ofevery URL as we didn''t do it. You need to pass the SID somehow, and that''s one way. Also look at trans_sid, which may do much the same thing but save you some work. It puts the session ID in the URL unless it appears that cookies are working. And for POST submission, where we want to keep some values, how to we put aSID at the form tag ?
带有SID的隐藏字段? Gordon L. Burditt
Hidden field with the SID in it? Gordon L. Burditt
更多推荐
会议帮助!
发布评论