> Hmm. I'm wondering whether it is at all feasible to pass a
> session between domains. The user stays in the same
> context, but can access it through either a secure url or
> not. I'd like them to be able to switch between the two
> without losing session variables... any thoughts? Is there
> a way to pass the session ID in the URL perhaps?

We do just that.  For some of our sites, we didn't want to buy an SSL
and get another IP address for them so we have a generic domain for
payments.  Based on the "whichSite" variable in the URL, I serve the
content from the appropriate WebKit instance via Location directives in
apache.conf.

In my servlet:

self.response().sendRedirect(self.session().sessionEncode("https://www.m
yGenericSslDomain.com/whichSite/PaymentForm"))



In apache.conf:

<VirtualHost _default_:443>
... lots of stuff snipped out ...
<Location /comics>
        WKServer 555.555.555.555 8087
        SetHandler webkit-handler
</Location>
<Location /skateboards>
        WKServer 555.555.555.555 8088
        SetHandler webkit-handler
</Location>
</VirtualHost>





_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to