469,906 Members | 2,220 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

Weblogic / Tomcat differences on cookie storage

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
5 4170
pbmods
5,821 Expert 4TB
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
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
2,476 2GB
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
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
2,476 2GB
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.

Similar topics

reply views Thread by Benny | last post: by
reply views Thread by Per-Christian Engdal | last post: by
2 posts views Thread by shin | last post: by
reply views Thread by Bjørn T Johansen | last post: by
1 post views Thread by prasad1 | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.