Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange COOKIES behaivor


Guest

Recommended Posts

Posted

Hi All,

 

I'm working on my new OSC MS2 ecommerce site, and I'm having a strange problem:

 

When you enter the site for the first time, you can a link with a session ID attached to it. On the second click on, the sID disappears, and it looks like a cookie has been created. The site functions properly and everything seems to be okay.

 

However, when I check my cookies directory I can't see any cookie from my website. I have my security settings set to minimum, and I've tried it from many different computers with the same results. When I enter other sites that use cookies, I can see immediately a cookie created.

 

I am about to launch my site soon, so I'll be very thankful if you can help with this.

 

You can check my website at: http://www.gifts-just4u.com (under construction).

 

Thanks in advance,

Eyal

Posted

Thanks dave, but how come when I access other Osc websites and check my cookies directory I can immediately see a cookie ?

Posted
Thanks dave, but how come when I access other Osc websites and check my cookies directory I can immediately see a cookie ?

Your site sets a cookie on my machine

 

gifts_cookie.gif

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Thank you Alan, maybe the reason that I don't see any file in my cookies directory is because the expiration is set to 'This session' ? If so, how can I tell Osc to save the cookie on customer's computer?

Posted
Thank you Alan, maybe the reason that I don't see any file in my cookies directory is because the expiration is set to 'This session' ? If so, how can I tell Osc to save the cookie on customer's computer?

What are you trying to do? The cookie is saved or else I wouldn't have been able to post that image.

 

You want a cookie so that someone's automatically logged in as soon as they enter your site? That wouldn't be a good idea, what about multiple users on the same machine? They'd all be logged into the same account.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

Oh, okay, I think I got it.

 

Thanks a lot AlanR and user999999999 (I hope I didn't miss a '9'..).

 

Eyal

Posted

i have a similar problem

 

but its not the same..

 

 

i am getting ppl who go to my site already logged in as someone else?

 

some kind of bug?

Archived

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

×
×
  • Create New...