会话对象在IE和Safari中不起作用 [英] Session Objects not working in IE and Safari
问题描述
大家好,
我有一个非常独特的问题,我试图从几个星期后重新开始,但我无法,任何帮助将不胜感激。
I have a very unique problem I am trying to reslove from few weeks but I am not able to , Any help would be much appreciated.
我正在使用会话变量并从一个页面重定向到另一个页面。
I am using session variables and redirecting from one page to another.
问题 我面临的是会话变量在IE和Safari中不起作用,我得到一个对象引用错误,因为会话变量在ridirected页面中不可用。
the problem I am facing is the session variables are not working in IE and safari, i am getting an object refrence error since the session variables are not available in ridirected page.
它与chrome和firefox完全一样。
It works absolutely fine with chrome and firefox.
另外,
如果 我使用带有端口号的实际网址,它在IE和Safari中工作正常。
if I use the actual url with port number it is working fine in IE and safari.
例如 if 我直接去 http://myurl.net:8080/ 所有会话对象在所有浏览器中都能正常工作。
For example if I directly go to http://myurl.net:8080/ all the session objects work fine in all browsers.
但如果我去: http://myotherURL.net / 这是以上网址的转发和重定向,会话varibles仅适用于chrome和firefox,并且在IE和Safari中不起作用。
But if I go to : http://myotherURL.net/ which is a forward and redirect of above url the session varibles only work in chrome and firefox and does not work in IE and safari.
我正在使用Go daddy托管和转发。
I am using Go daddy for hosting and forwarding.
我无法弄清楚这一点。非常感谢任何帮助。
I am not able to figure this out. Please help any help would be much appreciated.
提前致谢
推荐答案
请在ASP中发布与ASP.NET相关的问题。 NET论坛( http://forums.asp.net )。
Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).
这篇关于会话对象在IE和Safari中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!