Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookie Problems...


JHouse

Recommended Posts

Posted

First of all, I searched these forums looking for info relating to my problem, however it's been fruitless thus far. So, I come to you guys for help.

 

Version 2.2

 

Here it goes...

 

The checkout part, and similar functions, don't work when browsers' cookies are disabled, however it appears to be transferring the session-id fine from non to ssl. Everything works fine when ssl is off, just not with it on. Also, the cookies keep persisting, and it's mad annoying. Can I totally disable cookies and thus ditch them?

 

Here's the site: http://www.DollsToysandMore.com/catalog/default.php

 

Thanks for any help.

JHouse

Posted

What snapshot date are you on?

 

Did you try this with your Search Engine Friendly URLs turned off?

Posted

Well, I'm using the latest version as I reinstalled the whole mofo today. I'm still using the same db though, from last week I think, so maybe that's a problem?

 

And yes, the Search Engine Friendly domains are disabled.

JHouse

Posted

Might be the guys at secure.nettransactions.com.

I am on a 1024 Kbit ADSL line here and the connection to create an account simply times out... !!!?!

Don't know if others have experienced this but if so I'd look for another host... this is silly (and occurs on the most critical moments for shopping) Will cause lots of people to bail out before the sale is made.

 

Then again it might be I've caught them at a bad moment....

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

You could also try storing your session in mysql, as this sometimes helps with session problems between ssl & non-ssl servers.

Trust me, I'm an Accountant.

Posted

Okay, I tried storing my session in mysql, however it appears not to be working correctly. Cookies still persist, even after I hit cancel, and I'm still unable to checkout or pass cart contents successfully from non to ssl and vice versa. To top it off, I broke a nail.

 

Do I have the following configurations set up right?

 

+++++++++++++++++++++++++++++++++++++

// define our database connection

define('DB_SERVER', 'Dollstoysandmore.com'); // eg, localhost - should not be NULL for productive servers

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

+++++++++++++++++++++++++++++++++++++

 

Thanks for your help.

JHouse

Posted

I notice in the page source you have some uppercase characters in your domain name.

In your configure.php have you got uppercase chars in the setting for HHTP_SERVER & HTTPS_SERVER.

 

I'm no expert on cookies, but this could be causing php to not find the cookie as it would have a different name to your real domain name

Trust me, I'm an Accountant.

Posted

Nice Ian, thanks for your help.

 

Well, I changed the upper case characters (to lower) in both the DB_SERVER and HTTP_SERVER/HTTPS_SERVER fields, however it doesn't look like it's working. Any other ideas?

 

Here's some more info:

 

1. When adding a new user, and subsequently clicking "Continue" at the bottom of the New User page, the program gets hung up and thus won't proceed. Then, after about 30 seconds or so, I get an alert message stating the document/page is empty, however it does add the user to the admin section??? Now, I don't have this problem when ssl is false, matter of fact, everything works dandy, but when bouncing back between non and ssl, it all goes to shit. Hmmm...

 

2. Cookies still persist and persist, even after I hit cancel.

 

Thanks again for your continued help.

JHouse

Posted

Hmmm, I'm still having problems even after enabling my browser's (IE)Cookies. Once I get to the ssl side and create a new user, it still gets hung up after clicking "Continue" at the bottom of the New User page. And once again, the new user is added, but I never get the confirmation.

 

Could someone try the site out and see if the whole order and new user stuff goes through? Here's the addy: http://www.Dollstoysandmore.com/catalog/default.php

 

Thanks.

JHouse

Posted

Yo Mattice, I didn't see your reply 'till now. Doh. Thanks man, this might be the main problem, which really sux cuz I'm inches away from pulling this off. Oh well, that's the way this biz goes.

 

I'm really starting to think that nettransactions might be the trouble, not only because they time out all the time, but they gave me a really, really basic password, one that could be found via a dictionary cracker in a matter of seconds. Ahhh screw it, I'm gonna tell you what the password is cuz I'm leaving those bastards tonight. It's, get this, "secureserver." Can you believe that? So much for being secure.

 

Okay, I'm off to find another hosting company as the current is tied to this "secure" company. Got any suggestions?

 

Thanks.

JHouse

Archived

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

×
×
  • Create New...