java - Accessing session attributes in weblogic vs tomcat -



java - Accessing session attributes in weblogic vs tomcat -

i have web application want track language user wants utilize view various pages. using session attribute store selection. set session attribute so...

string languagechosen = request.getparameter("lang"); request.getsession().setattribute("lang", languagechosen);

then in other methods retrieve attribute so...

string languagechosen= (string) request.getsession().getattribute("lang");

when test application in local environment - running tomcat - works perfectly. when deploy application our remote development server - weblogic - session attribute not beingness captured. result application not displaying in right language.

should storing session attribute differently weblogic? i've never run issue before. have other apps running on same weblogic instance utilize session attributes without issue. ideas?

i figured out problem. current development url not secure url , had secure cookie setting set true in weblogic.xml file. 1 time changed false worked.

now have remember alter true when move secure environment. ha ha!!

java session tomcat weblogic

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -