SSL/Non-SSL Redirects

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

SSL/Non-SSL Redirects

Post by sweeperq » Tue Nov 02, 2010 4:02 pm

I love how AC7 kicks users back and forth between SSL and non-SSL pages. It improves load speed an reduces server overhead.

One thing I noticed though is that when it passes back and forth it redirects you to a different URL than was requested. Example: If you create a link to the home page and use http://www.mydomain.com/ for the URL, when the link is redirected it goes to http://www.mydomain.com/default.aspx. A more glaring example is if you have static links to product or category pages (we built a static header/footer navigation), then you end up with http://www.mydomain.com/category.aspx?CategoryId=99.

It would be most excellent if the redirect used the Request.Url.RawUrl so it would redirect to the exact location that was requested and not the parsed URL.

sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Re: SSL/Non-SSL Redirects

Post by sweeperq » Tue Nov 02, 2010 4:11 pm

By the way, in the meantime I've added the full "http[s]://www.mydomain.com" to my header and footer URLs. Problem is I have to maintain seperate DEV/LIVE versions.

Post Reply