I've got a PHP (Smarty) website which uses SSL. Only a couple of forms on the site use SSL and my problem is that when a user goes in to one of the forms the site kicks over to https://
which is fine. Problem is when they go back around the rest of the site it carries on using https when it should go back to http.
I know I could use absolute links on the https://
forms to sort this problem but that's not ideal. I was wondering if there was a way I could put some code in the config file for the site which fires every time a page is loaded, which would sort the problem out