I'm kind of stuck on this one, been experimenting
all this morning :)
What I want to do is to share a session between
several applications. Preferredly, I'd like to share the objects between those
applications and the code.
I want to use virtualhosts, and I confed my hosts
file like this
127.0.0.1
company.localhost
127.0.0.1
admin.company.localhost
127.0.0.1
subdomain1.company.localhost
127.0.0.1
subdomain2.company.localhost
The mapping to those work. But how do I access a
session created in company.localhost at subdomain1.company.localhost? Is it
possible or impossible? Can I create a "parent" application which handles the
sessions and how do I configure it?
And for sharing code, I'd like to have a single
point of distribution, is there a way to tell in the web.xml where the classes
dir is?
Thanks in advance
Johan Fredriksson
|