会话或浏览器问题? [英] Session or browser problem??

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

问题描述

大家好,

我有一个新闻网站是在joomla 1.5上开发的。登录设施是通过登录组件完成的
。每页,sa''登录''链接,

将它们重定向到登录页面。成功登录后,用户详细信息是

在会话中设置以及cookie然后重定向回d

引用页面。登录部分更改为欢迎用户,沿着

和注销链接。所有这些在IE 6和FF中都有相同的效果

2.差异来自于注销动作。


在FF中,点击' '退出'',所需的会话变量被设置''''作为

以及d组件中的cookie然后重定向回到引用

页面。登录栏更改回登录。但是在IE中,一旦从组件重定向

,该页面仍然将登录栏显示为欢迎

用户 。只有我手动点击参考resh按钮(IE),页面

刷新,登录栏显示已注销状态。


任何帮助都值得高度赞赏...

Hi all,

I have a news website tat is developed on joomla 1.5.Login facility is
done thru a login component.On each page,ther s a ''Log In'' link that
redirects them to a login page.On successful login,user details are
set in session as well as cookies and then redirected back to d
referring page.The ''Log In'' section changes to ''Welcome user'',along
wid a ''Log Out'' link.All this works d same in IE 6 as well as in FF
2.The difference comes durin log out action.

In FF,on clickin ''Log Out'',the required session vars are set '''' as
well as cookies in d component and then redirected back to referring
page.The login bar changes back to ''Log in''.But in IE,once redirected
from the component,the page still shows the login bar as ''Welcome
user''.Only if i manually click the refresh button (of IE), the page
gets refreshed and the login bar shows logged out status.

Any help wud be highly appreciated...

推荐答案

sw @ bglore写道:
sw@bglore wrote:

大家好,


我有一个新闻网站是在joomla 1.5上开发的。登录设施是通过登录组件完成的
。在每个页面上,登录 '链接那个

将它们重定向到登录页面。成功登录后,用户详细信息是

在会话中设置以及cookie然后重定向回到d

引用页面。''登录''部分更改为''欢迎用户'',沿着

wid a''Log Out''链接。所有这一切在IE中都相同6,以及在FF

2.差异来自于退出行动。


在FF中,点击退出时,需要会话变量被设置为''''

以及cookie在d组件中,然后重定向回到引用

页面。登录栏更改回登录。但在IE中,一旦从组件重定向

,该页面仍然显示登录栏为欢迎

用户。只有当我手动点击(IE浏览器)刷新按钮时,页面

才会刷新并且登录栏显示已登出状态。


非常感谢任何帮助...

Hi all,

I have a news website tat is developed on joomla 1.5.Login facility is
done thru a login component.On each page,ther s a ''Log In'' link that
redirects them to a login page.On successful login,user details are
set in session as well as cookies and then redirected back to d
referring page.The ''Log In'' section changes to ''Welcome user'',along
wid a ''Log Out'' link.All this works d same in IE 6 as well as in FF
2.The difference comes durin log out action.

In FF,on clickin ''Log Out'',the required session vars are set '''' as
well as cookies in d component and then redirected back to referring
page.The login bar changes back to ''Log in''.But in IE,once redirected
from the component,the page still shows the login bar as ''Welcome
user''.Only if i manually click the refresh button (of IE), the page
gets refreshed and the login bar shows logged out status.

Any help wud be highly appreciated...



和你的PHP编程问题是?


尝试使用Joomla支持小组。


-

===== =============

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================

And your PHP programming question is?

Try the Joomla support groups.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


您好,


尝试在session_start之前使用session_cache_limiter(''nocache'')。这个

将告诉浏览器不要缓存页面。


问候,

John Peters

10月28日上午5:21,sw @ bglore < pranav.k ... @ gmail.comwrote:
Hi,

Try using session_cache_limiter(''nocache'') before session_start. This
will tell the browser not to cache the page.

Regards,
John Peters

On Oct 28, 5:21 am, "sw@bglore" <pranav.k...@gmail.comwrote:

大家好,


我有一个新闻网站tat是在joomla 1.5上开发的。登录工具是通过登录组件完成的
。在每一页上,都有登录链接

将它们重定向到登录页面。成功登录后,用户详细信息将在会话中设置为
以及Cookie,然后重定向回d

引用页面。登录部分更改到''欢迎用户',沿着

wid a''Log Out''链接。所有这些在IE 6和FF中都相同

2。 durin退出操作的区别在于。


在FF中,点击退出时,所需的会话变量设置为''''

以及d组件中的cookie,然后重定向回到引用

页面。登录栏变回''登录''。但在IE中,一旦重定向

从组件,页面仍然显示登录bar为''Welcome

user''。只有当我手动点击(IE的)刷新按钮时,页面

才会刷新,登录栏会显示已注销状态。


非常感谢任何帮助...
Hi all,

I have a news website tat is developed on joomla 1.5.Login facility is
done thru a login component.On each page,ther s a ''Log In'' link that
redirects them to a login page.On successful login,user details are
set in session as well as cookies and then redirected back to d
referring page.The ''Log In'' section changes to ''Welcome user'',along
wid a ''Log Out'' link.All this works d same in IE 6 as well as in FF
2.The difference comes durin log out action.

In FF,on clickin ''Log Out'',the required session vars are set '''' as
well as cookies in d component and then redirected back to referring
page.The login bar changes back to ''Log in''.But in IE,once redirected
from the component,the page still shows the login bar as ''Welcome
user''.Only if i manually click the refresh button (of IE), the page
gets refreshed and the login bar shows logged out status.

Any help wud be highly appreciated...



感谢4位帮助。但是,请给我一些帮助。

我在应用程序中找到了特定代码,其中包括
重新启动。

session_cache_limiter(''none' ');

session_start();


//发送IE 6.0安全策略的修改标头

header('''P3P :CP =NOI ADM DEV PSAi COM NAV OUR STO IND DEM'';


我试过评论d header..but dint help.I wud like to know

当abov标题正确时。

Thanks 4 d help..but tat dint help.
I found tis particulr code in the application wher d sessions wher
restartd.
session_cache_limiter(''none'');
session_start();

// Send modified header for IE 6.0 Security Policy
header(''P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"'');

I tried commentin out d header..but dint help.I wud like to know
whethr the abov header s correct.


这篇关于会话或浏览器问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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