By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,537 Members | 1,750 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,537 IT Pros & Developers. It's quick & easy.

Weblogic / Tomcat differences on cookie storage

P: 34
Can someone explain the differences between setting cookies on TomCat or a Weblogic webserver?

I discovered today during a deployment to Weblogic that a cookie can be set and retrieved in a single session. But, once the browser session is restarted the "onload="getCookie()" returns an error. In Tomcat however, it works perfectly.

When the cookie is manually distoyed prior to form load, no errors are returned. But, when attempting to return values of an existing cookie in Weblogic it errors with 'null' is null or not an object.

With Tomcat the cookie is set, retrieved and available upon new session.

What, if anything, needs attention for Weblogic to return the cookie values on new session?

Thanks
Oct 5 '07 #1
Share this Question
Share on Google+
5 Replies


pbmods
Expert 5K+
P: 5,821
Heya, swebster.

I'm going to go ahead and move this thread to the Java forum, where our resident Experts will be better able to help you out.
Oct 6 '07 #2

P: 34
Thanks pbmods,

There are several settings offered in the weblogic.xml build with the application for deployment. Has anyone ever run into something similar or have any advice on what needs to be set for this issue.

Thanks.
Oct 8 '07 #3

dmjpro
100+
P: 2,476
Can someone explain the differences between setting cookies on TomCat or a Weblogic webserver?

I discovered today during a deployment to Weblogic that a cookie can be set and retrieved in a single session. But, once the browser session is restarted the "onload="getCookie()" returns an error. In Tomcat however, it works perfectly.

When the cookie is manually distoyed prior to form load, no errors are returned. But, when attempting to return values of an existing cookie in Weblogic it errors with 'null' is null or not an object.

With Tomcat the cookie is set, retrieved and available upon new session.

What, if anything, needs attention for Weblogic to return the cookie values on new session?

Thanks
I am new to Web-Logic :-)
Is it a Web-Server?
I think it is....So you are talking abut client side Cookie.
Then I think Server's headache should not be there.
It seems something .....absurd to me.

Debasis Jana
Oct 9 '07 #4

P: 34
I am new to Web-Logic :-)
Is it a Web-Server?
I think it is....So you are talking abut client side Cookie.
Then I think Server's headache should not be there.
It seems something .....absurd to me.

Debasis Jana

This is a client side cookie, however I believe Weblogic handles session differently then Tomcat. Much of the Weblogic documentation indicates several parameters to set within the weblogic.xml but at this point none of the ones I have set are making a difference. Oddly enough, if I distroy the cookie pre application launch the cookie storage and retrieval work fine.

Here are some of the parameters I found so far.

<param-name>CookieName</param-name>
<param-name>PersistentStoreType</param-name>
<param-name>CookiesEnabled</param-name>

Still need more information on session...

Scott
Oct 9 '07 #5

dmjpro
100+
P: 2,476
This is a client side cookie, however I believe Weblogic handles session differently then Tomcat. Much of the Weblogic documentation indicates several parameters to set within the weblogic.xml but at this point none of the ones I have set are making a difference. Oddly enough, if I distroy the cookie pre application launch the cookie storage and retrieval work fine.

Here are some of the parameters I found so far.

<param-name>CookieName</param-name>
<param-name>PersistentStoreType</param-name>
<param-name>CookiesEnabled</param-name>

Still need more information on session...

Scott
Let's have wait for experts ... what they tell ....
I am still confused ..........

Debasis Jana
Oct 9 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.