Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need help with login.php


Guest

Recommended Posts

The problem I'm having is that when a user logs in I have them redirected to the default page (FILENAME_DEFAULT). Since I'm using "SSL" every time they go back to the default page the url is in https. I have google adwords on the default page and I always get this pop window saying "This page contains both secure and nonsecure item ...." I checked google and they currenlty don't have there adwords going threw an SSL server. Is there any way to have it when I redirect to the dfault page it will not show the pop up window? thank in advance.

Link to comment
Share on other sites

Put the adwords code inside something like this:

if ($request_type != 'SSL') {

adwords_code_here

}

 

Then it will only show up if it's not an SSL page.

 

-jared

Link to comment
Share on other sites

Put the adwords code inside something like this:

if ($request_type != 'SSL') {

adwords_code_here

}

 

Then it will only show up if it's not an SSL page.

 

-jared

 

 

Thanks for that tip but I always want the adwords to show up on my default page. By the looks of it the tep_redirect() always puts the default page into ssl when it shouldn't. My default page doesn't need to be in "SSL" mode.

Link to comment
Share on other sites

The redirect after login goes to SSL so that the browser doesn't say "you are being redirected from a secure page to a non-secure page" but as soon as the user clicks on a link, it's not SSL anymore (unless they are in My Account or something like that."

 

-jared

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...