arunns Posted August 27, 2008 Share Posted August 27, 2008 When i click on sign in button it will goes to Cookiee usage page.There itself continue button.Just click that button it will goes to home page.Where can i change this option edit. Link to comment Share on other sites More sharing options...
♥Vger Posted August 27, 2008 Share Posted August 27, 2008 Turn off "Force Cookie Use" in osCommerce admin. Vger Link to comment Share on other sites More sharing options...
arunns Posted August 27, 2008 Author Share Posted August 27, 2008 Turn off "Force Cookie Use" in osCommerce admin. Vger I'm sorry.i'm new in oscomm ... in admin where is that option. Thank you for ur immediate reply Link to comment Share on other sites More sharing options...
arunns Posted August 28, 2008 Author Share Posted August 28, 2008 We seem to have cracked it,catlog / includes/application_top to // start the session $session_started = false; if (SESSION_FORCE_COOKIE_USE == 'False') { this seems to bypass any cookie error messages appearing and they redirect fine to the site. Thanks for everyones help :-) i got this code from this url: http://www.ez-oscommerce.com/oscommerce-su...hp-t270454.html Link to comment Share on other sites More sharing options...
shartlesville Posted September 6, 2008 Share Posted September 6, 2008 We seem to have cracked it,catlog / includes/application_top to // start the session $session_started = false; if (SESSION_FORCE_COOKIE_USE == 'False') { this seems to bypass any cookie error messages appearing and they redirect fine to the site. Thanks for everyones help :-) i got this code from this url: That did nothing for me BUT I may have found a partial solution for my "cookie" problem! Ok my current problem is a LOT of customers are being directed to the "cookie usage page" when they want to checkout. They are mostly ladies in their 60's and older; they get frustrated and leave. I am running 2.2 MS2 with SID Killer and Session Start Mod installed (among a dozen other things). So far this is working but I will repost if there are more "issues" or if anyone wants to take a look for themselves http://bestsewingdeals.com and get back to me that would be great too, especially if you can help! ;-) In catalog/includes/application_top.php look for: // Shopping cart actions if (isset($HTTP_GET_VARS['action'])) { // redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); } And change it to: // Shopping cart actions if (isset($HTTP_GET_VARS['action'])) { // redirect the customer to the login page if cookies are disabled if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_LOGIN)); } Once the customer logs in, no more "cookie" issue because there is now a "session." HOWEVER, I am still having two problems... Before I changed it, if someone clicked on a banner ad it took them to "cookie usage" until they "created a session" by adding something to the cart, logging in, etc. NOW it takes them to the login page. Either way it doesn't take them to the page the banner was supposed to take them until a session has started, then it works perfectly. And now the "robots" can create a session because they get directed to the "login" page! Any ideas on either of those??? Please??? Honestly, I can live with the bots for now, happy customers are more important than bots running around the site but the ad thing is a little annoying. Blessings, K Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.