java - IBM WebSphere Application/Portal Servers, TAI and HttpSession and Cookies -


i have ibm 6.1 , portal 6.1. have tai works when user login/logout in/out portal. want work httpsession in tai. shortly task next: when user logging in want save parameter in memory , key want use id of httpsession (or else?).

for example, while user logging id of httpsession "foo". than, user logged in , working in portal, , press logout button, portal logged out user using internal mechanize , tai catch request , have http session id "bar". so, changed http session. means can not user http session save parameter, because recreates logging out. have save parameter while user logging in, , use while logging out.

also can't use cookies reasons. idea how can save id based on httpsession?

or have know who(portal uid of user) pressed logout button in tai. helps me resolve problem.

update #1.

also, reason was(?) delete custom cookie. add custom cookie in tai , deleting it, can not find own cookie. idea , why? there http server beyond , client, checked - shouldn't delete it.

i did not resolve question http session, resolved problem cookie. right cookie:

cookie cooky = new cookie(); cooky.setpath("/"); cooky.setdomain("domain.com"); 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -