会话cookie中缺少的Andr​​oid Web浏览器和一些诺基亚网络浏览器 [英] Session cookie is missing in Android web browser and some of nokia web browsers

查看:201
本文介绍了会话cookie中缺少的Andr​​oid Web浏览器和一些诺基亚网络浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发使用Spring 2.5的Java EE Web应用程序。此应用程序认证步骤,如果用户在登录数据输入正确的,他会重定向到安全网页。我的问题是在Android的Web浏览器和一些诺基亚网络浏览器不发送会话cookie。然而,这种应用程序可以在所有其他Web浏览器和移动网络浏览器的罚款。我已经测试了以下几个方面,通过在登录后添加会话属性然后检查属性的每个请求加入会话范围豆

I have developed a Java EE web application using Spring 2.5. This application has authentication step and if user enter correct log-in data he will redirect to a secure page. My Issue is in Android web browser and some of nokia web browsers does not send session cookie. However this application works fine in all other web browsers and mobile web browsers. I have tested following ways, By Adding session Attribute after logged in then check attribute each request By Adding session scope bean

这两种方式我无法来解决问题。我的环境是的Apache Tomcat 5.5,Java 1.5的

in both ways i was unable to resolve the issue. My environment is Apache Tomcat 5.5 , Java 1.5

感谢,并等待来自各位的帮助。

Thanks and waiting for a help from all of you.

步骤创建:


  1. 有一个登录界面

  2. 用户输入用户数据,然后点击提交按钮

  3. 在服务器端它捕获请求,如果用户的数据是正确的用户会被重定向到安全站点(到现在为止它的工作,它应该是在每一个浏览器)

  4. 用户点击安全站点将在一个有效的会话拦截检查去一个链接(在这一步,我已经注意到,我没有获得诺基亚授权的会话6300网络浏览器和索尼爱立信Xperia内置网络浏览器)

然而,在所有其他Web PC Web浏览器和移动网络浏览器,如诺基亚E 71内置的网络浏览器,Opera Mini的发回JSESSIONID。请注意,使用上面提到的诺基亚6300与Xperia可以登录到雅虎邮箱和G邮件。

However in all other web PC web browsers and in mobile web browsers such as Nokia E 71 built in web browser, opera mini sending back JSessionId. Please note that using above mention Nokia 6300 and Xperia can logged in to Yahoo mail and G mail.

推荐答案

检查到期时上的cookie(在Set-Cookie响应头),并检查手机上的时间/日期设置。确保手机和服务器都设置为正确的时间。

Check the expires time on the cookie (in the Set-Cookie response header) and check the time/date settings on the phone. Make sure the phone and the server are both set to the correct time.

这篇关于会话cookie中缺少的Andr​​oid Web浏览器和一些诺基亚网络浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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