问题描述
我的网站上有多个输入表格。用户提供的
信息是通过页面作为会话
变量。它已经工作了两年。
现在我正在重做整个网站并将所有不同的页面放在第一页的
iframe中。表单页面和以前一样,但是现在我好像b $ b似乎松开了一些会话变量。
但奇怪的是,如果我第一次通过
旧网站完成整个过程,然后在同一浏览器中切换到新版本,一切正常。
你们有什么建议吗?在哪里寻找故障?
/ Rolf
I have a website with several input forms over a number of pages. The
information that the user gives is following through the pages as session
variables. It has been working good for two years.
Now I am redoing the whole site and have all the different pages put into an
Iframe on the first page. The form pages are the same as before, but now I
seem to loose some of the session variables.
But the strange thing is that if I first go through the the process with the
old website and then switch to the new in the same browser, it all works.
Do you guys have any suggestions where to look for the fault?
/ Rolf
推荐答案
您是否真的在一个域和root上工作?
识别会话cookie的会话是特定于域的。
-
Evertjan。
荷兰。
(请在我的电子邮件地址中将x'变为点数)
Are you really working on one domain and root?
The session identifying session-cookie is domain specific.
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
这表明该位置IFRAME的*总是*在旧服务器上。
检查您是否有硬编码位置(IFRAME SRC属性或FORM
ACTION属性),而不是比起亲戚。
-
戴夫安德森
未经请求的商业电子邮件将被收取费用每个消息的
This suggests that the location of the IFRAME is *always* on the old server.
Check to see if you have a hard-coded location (IFRAME SRC attribute or FORM
ACTION attribute), rather than a relative one.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of
这篇关于松开会话变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!