Annoying SSL Refresh

If you click to any ssl page https:// (login page for example).



Don’t login, but click a category (non-SSL) and the whole site goes white and refreshes back to http://.



I’ve never seen any other cart do that.



CS-Cart does this whether SEO is on or not.



It’s really bugging me.

[quote name=‘ePlanetDesign’]If you click to any ssl page https:// (login page for example).



Don’t login, but click a category (non-SSL) and the whole site goes white and refreshes back to http://.



I’ve never seen any other cart do that.



CS-Cart does this whether SEO is on or not.



It’s really bugging me.[/QUOTE]



Do you have an URL?

Go to any cs-cart site that uses SSL, even old 1.x versions do it.

Are you saying that it goes to a different page rather than the category that you click on?



I am using version 1.3.5 and I tried going from a secure page to a category as you suggested. Whereas there is a white screen for a split second while the page refreshes, it takes me to the correct category.

[quote name=‘Lyn’]Whereas there is a white screen for a split second while the page refreshes,[/QUOTE]



That white refresh, that’s what I’m talking about.



It goes to the correct category,

Other carts don’t do that.



I just pulled this link out of my hat.

[url]https://www.gabbys.net/zencart/index.php?main_page=login&zenid=f3f6de5afc976f8538adbf1531990621[/url]



Notice when you hover over a category the link is http://



Now click on a category.

[quote name=‘ePlanetDesign’]That white refresh, that’s what I’m talking about.



It goes to the correct category,[/QUOTE]



In config local file you may need to increase the memory can’t remember setting but it something like INI SET 20M



[url]http://forum.cs-cart.com/showthread.php?p=71953#post71953[/url]

[quote name=‘BarryH’]In config local file you may need to increase the memory can’t remember setting but it something like INI SET 20M



[url]http://forum.cs-cart.com/showthread.php?p=71953#post71953[/url][/QUOTE]





I tried that but I don’t see how that can help, as long as the link in the status bar says https:// it must refresh to http://.



Looks to me like it’s written in the code to be that way. What a round about way to do such a simple task.

[quote name=‘ePlanetDesign’]I tried that but I don’t see how that can help, as long as the link in the status bar says https:// it must refresh to http://.



Looks to me like it’s written in the code to be that way. What a round about way to do such a simple task.[/QUOTE]



I am on 2.0.10 and I have the cart etc under SSL and I have NO problem with “White Pages”. Yes it goes white but for max 1 second!



Not sure what is happening to you?

[quote name=‘BarryH’]I am on 2.0.10 and I have the cart etc under SSL and I have NO problem with “White Pages”. Yes it goes white but for max 1 second!



Not sure what is happening to you?[/QUOTE]



1 second, that’s right. It apparently doesn’t bother you but to me, it’s just wrong and not very professional.

[quote name=‘ePlanetDesign’]1 second, that’s right. It apparently doesn’t bother you but to me, it’s just wrong and not very professional.[/QUOTE]



MMMMMMMMMMMMM! Take your point. Maybe a question to ask support?

[quote name=‘BarryH’]MMMMMMMMMMMMM! Take your point. Maybe a question to ask support?[/QUOTE]



:smiley:



A major code rewrite… they would probably laugh at me. CS users seem to be conditioned that it’s supposed to be like that. So there is no need.



They probably think it’s ok too:



Every cart/billing software I’ve ever used or designed for has a setting in admin to statically enter the ssl address.



In CS Cart Admin, under Settings, Company, “Company website”, sets the non-ssl address but nothing for SSL address. Instead they opted for a meta refresh… wow.

Hello ePlanetDesign,



I agree with you that this is an area which could absolutely use some “re-thinking”!



I have been on a quest for speed from day one in setting up our CS-Cart store, and this is the only area of slow-up left (switching back & forth between http & https) to be solved. I have actually noticed this bottleneck from day one as it was quite noticeable to me, actually sticks out like a sore thumb to me.



Last stores we ran were .asp and there was a setting of which we could choose for the cart to “stay” in secure https mode after the point in which it was called, so there was no going back & forth from secure to non. This actually turned out to work quite well as the speed difference between http & https were negligable. Actually far less noticeable / annoying versus switching back & forth.



I have been tempted to experiment just running our store in https mode at all times!

Sticks out like a sore thumb! Yes it does.



I wonder if fulltime https will slow the site down?

[quote name=‘ePlanetDesign’]Sticks out like a sore thumb! Yes it does.



I wonder if fulltime https will slow the site down?[/QUOTE]



One of us simply needs to try this!



Running in fulltime HTTPS should only have a slight effect on page load speed (as long as you arent switching back & forth).



Our site is live & this is a busy time of day so I can’t play with this right now, maybe over the weekend.



Are you in a position to quickly give it a try?

[quote name=‘ePlanetDesign’]If you click to any ssl page https:// (login page for example).



Don’t login, but click a category (non-SSL) and the whole site goes white and refreshes back to http://.



I’ve never seen any other cart do that.



CS-Cart does this whether SEO is on or not.



It’s really bugging me.[/QUOTE]



Is this what you’re talking about?: [url]http://forum.cs-cart.com/showthread.php?t=14550[/url]



Have you noticed it being a problem in Firefox, or just IE?

You can try for example this CSC store. Tell me where is the problem.



http://www.thegadgetroom.co.uk

[quote name=‘Herbaria’]Is this what you’re talking about?: [url]http://forum.cs-cart.com/showthread.php?t=14550[/url]



Have you noticed it being a problem in Firefox, or just IE?[/QUOTE]



Hello Scott, I just tested in Firefox as well, essentially identical behavior. The slowness because of the page refresh (blank white screen) occurs when returning to http from https. As I mentioned above, in other carts I have used they decided it best to simply stay in https once this is called rather than jumping back & forth between secure & non.

[quote name=‘indy0077’]You can try for example this CSC store. Tell me where is the problem.



http://www.thegadgetroom.co.uk[/QUOTE]



It’s simple Indy, click back & forth multiple times between the Catalog & My Account links top of your page. The delay is excessive to the point of annoyance!

Hmmm, I see, but is it a coding problem?