松开会话变量 [英] Loosing session variables

查看:86
本文介绍了松开会话变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有多个输入表格。用户提供的

信息是通过页面作为会话

变量。它已经工作了两年。


现在我正在重做整个网站并将所有不同的页面放在第一页的

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

推荐答案

Rolf Rosenquist在16 mei 2006上写道

microsoft.public.inetserver.asp.general:
Rolf Rosenquist wrote on 16 mei 2006 in
microsoft.public.inetserver.asp.general:
我的网站上有多个输入表格。用户提供的信息是通过页面作为会话变量。它已经工作了两年。

现在我正在重做整个网站,并将所有不同的页面放在第一页的iframe中。表单页面与之前的
相同,但现在我似乎松开了一些会话变量。

但奇怪的是,如果我第一次完成该过程
使用旧网站,然后在同一浏览器中切换到新网站,
一切正常。

你们有什么建议在哪里查找错误吗?
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?




您是否真的在一个域和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)


Rolf Rosenquist写道:
Rolf Rosenquist wrote:
我有一个网站,在多个页面上有几个输入表格。用户提供的信息是通过页面作为会话变量。它已经工作好两年了。

现在我正在重做整个网站,并将所有不同的页面放在第一页的iframe中。表格页面
与以前相同,但现在我似乎松了一些会话变量。


ASPFAQ有很好的原因列表:
http://www.aspfaq.com/show.asp?id=2157
进程与旧网站然后切换到相同浏览器中的新功能,一切正常。
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.
ASPFAQ has a pretty good list of causes:
http://www.aspfaq.com/show.asp?id=2157
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.




这表明该位置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


500。使用
这个电子邮件地址的
表示同意这些条款。
500 per message. Use
of this email address implies consent to these terms.


这篇关于松开会话变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆