VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: Nimai on March 21, 2008, 22:49:43 PM

Title: Shared SSL redirect not quite working
Post by: Nimai on March 21, 2008, 22:49:43 PM
My prepare_SSL_Session wasn't working right with the $VM_MODULES_FORCE_HTTPS that I had configured.  The problem was that the $page global was not initialized when prepare_SSL_Session is called.  I tried moving the call to prepare_SSL_Session in virtuemart_parser.php down below where $page is initialized.  It worked like a charm!

...
116|   $option = vmRequest::getVar('option');
117|   
118|   // This makes it possible to use Shared SSL
119|   $sess->prepare_SSL_Session();
120|
121|   if( $option == "com_virtuemart" ) {
...
Title: Re: Shared SSL redirect not quite working
Post by: Andrew on October 10, 2008, 06:16:39 AM
Hi. Am I right in thinking you got shared cert to work like this? Where exactly did you put the $sess line?
Getting desperate to get Shared SSl working.
Thanks
Andrew