News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shared SSL redirect not quite working

Started by Nimai, March 21, 2008, 22:49:43 PM

Previous topic - Next topic

Nimai

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" ) {
...

Andrew

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