Forum OpenACS Development: Re: Adding ad_session_id_secure cookie

Collapse
Posted by Torben Brosten on
Yes, consolidating would improve user experience. Basically the ecommerce requirements are for smooth transitioning of sessions between http/https and session continuity (for retaining shopping basket contents etc) ie things which regular user sessions could benefit from in the context of other services.

I'd be glad to help test, but I don't have the expertise to directly modify core (all previous attempts failed to pass tests).

Here's the procs:

ec_get_user_session_id
ec_user_session_logout
ec_log_user_as_user_id_for_this_session
ec_create_new_session_if_necessary
ec_redirect_to_https_if_possible_and_necessary

cheers,
Torben