Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session problem please help!


chicane

Recommended Posts

Hi,

 

I want to try to get rid of the session ID from the URL if possible and store them in cookies. It works for the most part but when the user enters the site for the first time It shows the session ID in the URL but after exactly 1 click within my site it dissapears from my URL!

 

Any one know why a couple of clicks (no matter what links) get rid of the session from the URL?

 

The cookie is being set at the very start (i can view the cookie) but the links within the page still have the session id in them until one click is made....

 

 

Thanks.

Link to comment
Share on other sites

Provided that you either have no SSL or a full SSL cert then you can set 'Force Cookie Use' to true in your osC admin panel, under Configuration --> Sessions.

 

However, you can't use this feature if you use shared ssl.

 

Vger

Link to comment
Share on other sites

Provided that you either have no SSL or a full SSL cert then you can set 'Force Cookie Use' to true in your osC admin panel, under Configuration --> Sessions.

 

However, you can't use this feature if you use shared ssl.

 

Vger

 

Vger:

 

Could you please tell me what this error message means and how to fix it? I get it in the Admin Customer section when I click on 'Orders':

 

Orders Order ID:

Status: All OrdersDeliveredPendingProcessing

Customers Order Total Date Purchased Status Action

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1

 

select o.orders_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by o.orders_id DESC limit -20, 20

 

[TEP STOP]

 

I get similar errors from the Reports section when clicking both the

'Customer' and 'Orders' links. Any clues.

 

Darryl

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...