100asa Posted December 1, 2004 Share Posted December 1, 2004 I've just installed this contribution: http://www.oscommerce.com/community/contributions,338 Into login.php page I've setup this if(ALLOW_AUTOLOGON != 'false') { to TRUE to view the ceck box, but always when I logout and re-enter into the site, autologon don't show me my account, and I re-enter my email and password to login. Thank you for the support please visit my website to see autologon don't work Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 2, 2004 Author Share Posted December 2, 2004 And this contribution is fully compatible with this: http://www.oscommerce.com/community/contributions,2561 Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
boxtel Posted December 3, 2004 Share Posted December 3, 2004 And this contribution is fully compatible with this:http://www.oscommerce.com/community/contributions,2561 <{POST_SNAPBACK}> try setting your cookie domain to www.100asa.it not .www.100asa.it Quote Treasurer MFC Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 Excuse me, where I do this setting? Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
boxtel Posted December 3, 2004 Share Posted December 3, 2004 Excuse me, where I do this setting? <{POST_SNAPBACK}> in configure.php where it says : define('HTTP_COOKIE_DOMAIN', 'your cookie domain'); Quote Treasurer MFC Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 in /includes/configure.php I have: define('HTTP_SERVER', 'http://www.100asa.it'); define('HTTPS_SERVER', 'http://www.100asa.it'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.100asa.it'); define('HTTPS_COOKIE_DOMAIN', 'www.100asa.it'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Is it right? Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 (edited) Into login page of this contribution I've found this: // HMCS: Begin Autologon ********************************************************** ?$cookie_url_array = parse_url((ENABLE_SSL == true ? HTTPS_SERVER : HTTP_SERVER) . substr(DIR_WS_CATALOG, 0, -1)); ?$cookie_path = $cookie_url_array['path']; ? ? ? ? ? ?if ((ALLOW_AUTOLOGONLOGON == 'false') || ($HTTP_POST_VARS['remember_me'] == '')) { ? ? ? ? ? ? ?setcookie("email_address", "", time() - 3600, $cookie_path); ? // Delete email_address cookie ? ? ? ? ? ? ?setcookie("password", "", time() - 3600, $cookie_path); ? ? ? ?// Delete password cookie ?} ? ? ? ? ? ?else { ? ? ? ? ? ? ?setcookie('email_address', $email_address, time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); ? ? ? ? ? ? ?setcookie('password', $check_customer['customers_password'], time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); ?} // HMCS: End Autologon ?********************************************************** This line is right? if ((ALLOW_AUTOLOGONLOGON == 'false') || and for work this contribution I've able into admin section, into session parameters, Allow Autologon Cookie=True (It's right?) Edited December 3, 2004 by 100asa Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
boxtel Posted December 3, 2004 Share Posted December 3, 2004 Into login page of this contribution I've found this: // HMCS: Begin Autologon ********************************************************** ?$cookie_url_array = parse_url((ENABLE_SSL == true ? HTTPS_SERVER : HTTP_SERVER) . substr(DIR_WS_CATALOG, 0, -1)); ?$cookie_path = $cookie_url_array['path']; ? ? ? ? ? ?if ((ALLOW_AUTOLOGONLOGON == 'false') || ($HTTP_POST_VARS['remember_me'] == '')) { ? ? ? ? ? ? ?setcookie("email_address", "", time() - 3600, $cookie_path); ? // Delete email_address cookie ? ? ? ? ? ? ?setcookie("password", "", time() - 3600, $cookie_path); ? ? ? ?// Delete password cookie ?} ? ? ? ? ? ?else { ? ? ? ? ? ? ?setcookie('email_address', $email_address, time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); ? ? ? ? ? ? ?setcookie('password', $check_customer['customers_password'], time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0)); ?} // HMCS: End Autologon ?********************************************************** This line is right? if ((ALLOW_AUTOLOGONLOGON == 'false') || and for work this contribution I've able into admin section, into session parameters, Allow Autologon Cookie=True (It's right?) <{POST_SNAPBACK}> right. don't forget to set your HTTPS server right : define('HTTPS_SERVER', 'https://www.100asa.it'); Quote Treasurer MFC Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 (edited) When I setup into admin section-->session allow autologon cookie to true, when I clear my browser cookie the first page when I enter into my website is logoff! and I don't see the ceckbox "remember me" Edited December 3, 2004 by 100asa Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
boxtel Posted December 3, 2004 Share Posted December 3, 2004 When I setup into admin section-->session allow autologon cookie to true, when I clear my browser cookie the first page when I enter into my website is logoff!and I don't see the ceckbox "remember me" <{POST_SNAPBACK}> remember me is only on the login screen. I logged in to your site with remember me. next time I go to www.100asa.it I am automatically logged on. So it works. Quote Treasurer MFC Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 At this moment I've: 1. allow autologon cookie into session set to FALSE 2. new contribution allow autologon set to TRUE 3. into login page I don't see "remember me" If I change allow autologon cookie to TRUE (allow autologon is always set to TRUE) and I clear my cookie, the first page I can see is LOGOFF, and into login page I can see the ceckbox "remember me". If I re-enter, without clear cookie, the first page is index. Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 3, 2004 Author Share Posted December 3, 2004 If I set to TRUE allow autologon cookie, I don't see the ceckbox into login page, and always the first page thet I see is LOGOFF. Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 10, 2004 Author Share Posted December 10, 2004 I've disable page cache by Chemo. I've able into session allow autologon cookie, and able allow autologon into my store. I can see the ceck into login page by autologon contribution. But when I login as a customer by login page and ceck remember me, I go out and re-enter, I don't re-enter as a logged customer. Why this? Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 10, 2004 Author Share Posted December 10, 2004 There are many problem into my script. Now, autologon is OK! Thank you everybody for support. Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
100asa Posted December 11, 2004 Author Share Posted December 11, 2004 One question: can I add remember me ceck box into login box? Thank you (How can do? visit my home page to view login box Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
bobg7 Posted December 11, 2004 Share Posted December 11, 2004 It's working but not remembering my language, not sure if it's supposed to or not. Quote Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
100asa Posted December 11, 2004 Author Share Posted December 11, 2004 I'm not sure remember the language. How can I do to add this ceck to login box? Quote Skype: centoasa Skype: remigioruberto Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2005 Share Posted January 3, 2005 I have installed Auto Login 1.08. When, in Admin, I set autologon to true, I get the following behaviour. When I first login, everything is fine. On subsequent logins, my first page that comes up is log off (frequently). It does not seem to matter if I had actually logged of previously or not. My site is a subdomain, and the mods for the subdomain have been done. I have checked my installation more than once, and cannot see anything wrong. I have disabled page cache. etc. I only have english enabled on my site. I have ssl. Anyone else had this problem? Anyone have a fix? I like the idea of this contib, and would like to get it working. Quote Link to comment Share on other sites More sharing options...
boxtel Posted January 3, 2005 Share Posted January 3, 2005 I have installed Auto Login 1.08. When, in Admin, I set autologon to true, I get the following behaviour. When I first login, everything is fine. On subsequent logins, my first page that comes up is log off (frequently). It does not seem to matter if I had actually logged of previously or not.My site is a subdomain, and the mods for the subdomain have been done. I have checked my installation more than once, and cannot see anything wrong. I have disabled page cache. etc. I only have english enabled on my site. I have ssl. Anyone else had this problem? Anyone have a fix? I like the idea of this contib, and would like to get it working. <{POST_SNAPBACK}> asa100 had that same problem, seems to be fixed now, so maybe ask him. Quote Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2005 Share Posted January 3, 2005 asa100 had many problems, the solution to any could not be found on the forum. If I can determine his e-mail address, I will ask him. Quote Link to comment Share on other sites More sharing options...
boxtel Posted January 3, 2005 Share Posted January 3, 2005 asa100 had many problems, the solution to any could not be found on the forum.If I can determine his e-mail address, I will ask him. <{POST_SNAPBACK}> send him a PM on this forum, worth a try Quote Treasurer MFC Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2005 Share Posted January 3, 2005 Is a PM a personal message. I e-mailed him at his web site. I would hope that solutions get posted on the forum and if I get one, I will post the solution. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 3, 2005 Share Posted January 3, 2005 I can't seem to get this autologon mod to work. I see as100 has gotton it to work as I tested it at his site, but mine will not. I reinstalled but no fix. It does seem to be setting a cookie, I see them there and it fills in the email address when returning to logon page, but it always welcomes "Guest" back, obviously not logong me back in automatically. I do see one thing that makes me wonder. The osCsid cookie path is simply "/", while the email and password paths are "/catalog". My setting in the config.php for cookies are as follows: define('HTTP_SERVER', 'http://yogisoap.com'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'yogisoap.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); Can anyone think of a reason why this module would not work? i have deleted cookies and cleared cache, used a fresh browser, etc and can not figure it out! Thanks for the help! Kevin Quote Link to comment Share on other sites More sharing options...
Guest Posted January 4, 2005 Share Posted January 4, 2005 Even though my Aotologon is not working, my catalog\includes\configure.php says define('HTTP_SERVER', 'http://www.police.coopco.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.police.coopco.com.au'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.police.coopco.com.au'); define('HTTPS_COOKIE_DOMAIN', '.police.coopco.com.au'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); if that helps! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 12, 2005 Share Posted January 12, 2005 Just an update... I now have the mod half (well, maybe 3/4 <_< ) working. It still welcomes "Guest" back but does have the shopping cart info and will allow checkout without any further log on. Does anyone know if maybe I have I missed something in the mod instructions or is this the way it is? Thanks for the help, Kevin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.