Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mydomain/admin forcing me to cookie_usage.php


displacement101

Recommended Posts

Posted

Hi All,

 

I was adding some products and editing descriptions in my admin section for a couple hours.

I shut down my PC and turned it back on about 1/2 an hour later, all the sudden when I logged into my /admin and clicked 'catalog' it's forcing me to cookie_usage.php. I have no idea what to do. I replaced both my session.php's with the ones that were working before. I deleted the cookies that were already set for the /admin.

 

I have SEO-g installed.

 

Any help would be greatly apperciated.

 

Thanks in advance :thumbsup: ,

Mikey

Posted
Hi All,

 

I was adding some products and editing descriptions in my admin section for a couple hours.

I shut down my PC and turned it back on about 1/2 an hour later, all the sudden when I logged into my /admin and clicked 'catalog' it's forcing me to cookie_usage.php. I have no idea what to do. I replaced both my session.php's with the ones that were working before. I deleted the cookies that were already set for the /admin.

 

I have SEO-g installed.

 

Any help would be greatly apperciated.

 

Thanks in advance :thumbsup: ,

Mikey

These might help.

 

http://www.oscommerce.com/forums/index.php?showtopic=293874

 

http://www.php.net/manual/ru/function.setcookie.php#73107

Posted

 

Bryce,

 

Thanks a ton! I did this:

 

2) In my configure.php file, I'd set HTTP_COOKIE_DOMAIN like so:

define('HTTP_COOKIE_DOMAIN', $_SERVER['SERVER_ADDR']);

This resolves to 127.0.0.1, which is mostly equivalent to localhost. However, when it comes to certain things they're not the same at all. For example, some browsers (like Safari) considered it to be a separate domain from localhost (which is what I type in the address bar for convenience) and so rejected the cookie. The fix in that case was to set HTTP_COOKIE_DOMAIN to '' instead.

 

 

Now it's working as it should. Hopefully I don't encounter any more problems. >_<

 

Thanks again!

Archived

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

×
×
  • Create New...