[opencms-dev] Delivering site with http and https

Florian Hopf hopf at synyx.de
Mon Jan 3 12:04:58 CET 2011


Hi,

I'd like to deliver a site using http but when a user logs in it should
switch to https and stay on https. What's the best way of doing this?

I tried setting my login jsp as a secure resource and added the https
server as alias. The login works ok but when I navigate to a resource
that is not marked as secure it switches back to http and the login is
lost as the cookie is only valid for https.

Is it possible to do something like this using the OpenCms mechanisms?

Regards
Florian




More information about the opencms-dev mailing list