+ -
当前位置:首页 → 问答吧 → jboss server log 求教

jboss server log 求教

时间:2014-02-23

来源:互联网

个app server 系jboss
我个server log系可以keep 埋session ID

但好奇怪,有近一半的entry page 都系无session ID 架=.=
而第二三及之后的record 都有session ID

有无ching 知点解呀?

唔该

作者: chessppl   发布时间: 2014-02-23

系唔系个时jboss都未assign session ID俾个client呀?

作者: McLoneIII   发布时间: 2014-02-23

引用:原帖由 McLoneIII 於 2014-1-30 03:19 AM 发表
系唔系个时jboss都未assign session ID俾个client呀?
暂时系见到一入个网站,第一页先派个ID 落cookie,再入第二页先log 到
但有D 又得喎=_=
@_@大约有50%机会系entry page 无session ID
唔知关唔关D browser 事....

但我觉得系server setting 的问题,唔知ching 有无试过呢?

作者: chessppl   发布时间: 2014-02-23

引用:原帖由 chessppl 於 2014-1-30 09:38 AM 发表


暂时系见到一入个网站,第一页先派个ID 落cookie,再入第二页先log 到
但有D 又得喎=_=
@_@大约有50%机会系entry page 无session ID
唔知关唔关D browser 事....

但我觉得系server setting 的问题,唔知ch ...
我唔太明你既流程... 以下系有关session既steps
1. client browser sends a HTTP GET/POST to server.
2. server receives the HTTP GET/POST, and it generates the session ID.
3. server sends the HTTP response with session ID back to the client.
4. client sends another HTTP GET/POST with that session ID to server.
.....

如果你讲step 1,server都未generates session ID

作者: McLoneIII   发布时间: 2014-02-23

乜唔系应该要咁咩????

1. client browser sends a HTTP GET/POST to server.
2. server receives the HTTP GET/POST, and it generates the session ID. Server save the HTTP request and the new generated session ID into server log (但新gen的session ID 有时无save 到)
3. server sends the HTTP response with session ID back to the client.
4. client sends another HTTP GET/POST with that session ID to server.
5. server receives the HTTP GET/POST, with session ID Server save the HTTP request and session ID provided by client into server log
引用:原帖由 McLoneIII 於 2014-1-30 11:18 AM 发表


我唔太明你既流程... 以下系有关session既steps
1. client browser sends a HTTP GET/POST to server.
2. server receives the HTTP GET/POST, and it generates the session ID.
3. server sends the HTTP r ...

作者: chessppl   发布时间: 2014-02-23

引用:原帖由 chessppl 於 2014-1-30 09:38 AM 发表


暂时系见到一入个网站,第一页先派个ID 落cookie,再入第二页先log 到
但有D 又得喎=_=
@_@大约有50%机会系entry page 无session ID
唔知关唔关D browser 事....

但我觉得系server setting 的问题,唔知ch ...
cookie 唔系每个人都著架喎???
你试下用encodeurl 将 session 夹 o向 url 再 check 下。
or 将 browser set 唔 allow cookie 再 check 下。

作者: yuki~~   发布时间: 2014-02-23

系囉,cookie 如果唔set,咁应该成个browsing 都无session ID,唔会只系得第一只无喎
老细又唔俾搞条url
@_@ 我谂住系关server setting 事ja,我都系同老细讲唔识算喇

唔该晒两位的意见呀
引用:原帖由 yuki~~ 於 2014-1-30 11:22 PM 发表


cookie 唔系每个人都著架喎???
你试下用encodeurl 将 session 夹 o向 url 再 check 下。
or 将 browser set 唔 allow cookie 再 check 下。

作者: chessppl   发布时间: 2014-02-23

热门下载

更多