i want configure domain name in jboss configuration. example, "exampledomain" domain value in cookies. want "www.exampledomain.com" or "someothername.com".
i tried
<sessioncookie secure="true" httponly="true" domain ="www.exampledomain.com"/>
in context.xml
.
the context.xml can found in jboss/server/<myserver>/deploy/jbossweb.sar/context.xml
. not work.
please let me know how configure domain value in jboss configuration.
jboss version :jboss-5.1.0.ga
in fact, jboss not solve cross-domain requirement. because web-browser make cross-domain problem.
when first visit "exampledomain", server set "proof(jsession)" you. when visited "exampledomain" in second. web browser find proof , send same website.
however when visit "someothername", web browser not think visiting same website. not send "proof" server. server not "proof" , cross-domain data.
if want solve this, need find other method, "jsonp". can search , find better answers.
Comments
Post a Comment