Page 7 of 22 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 219
  1. #61
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    I'm also having problems getting this working. We've tried IE6 & Firefox on PCs, and Safari & Firefox on macs.

    I have a zencart_cookie_permalogin cookie. It's got:
    Content: big long string, mostly %7E
    Host: my domain with www, but no preceding dot.
    Path: correct path to shop below Host
    Send for: any type of connection
    Expires: tomorrow

    Any ideas?

  2. #62
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    I seem to remember it (the cookie) doesn't work if your page url doesn't have the www. in front.

    Delete the cookie, run again with www. in the url for the site. Sometimes the config for zen gets set without the www. in front, so all your own zen pages are running without www. at your end. The config file entries for your domain can be corrected for zencart manually.

    Otherwise, thats why somewhere here I did that jscript, to relocate any non-www page to the better formed www. page. You can also do it with a htaccess I think.

    Hope this helps rather than hinders!

  3. #63
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Aha! Thanks. I added added some mod_rewrite lines to .htaccess (below) and it seems to be working. Thanks!

    Code:
    RewriteCond %{HTTP_HOST} ^example\.com [NC]                                  
    RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

  4. #64
    Join Date
    Feb 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Hi there,
    first i want to say this is a great contrib that saves a lot of time to my customers. Thanks! Also good work hareslade for exploring this contrib further and doing some good work on in.

    Now, my only problem with this contrib was, that all worked fine when customer with autologin enabled returned to the home page. But when they returned to another page, fe. product_info they weren't logged in automaticaly, because the autologin code is only in the header of index page. That can be confusing for the customer.

    What i did to fix this is i moved the block of autologin code from pages/index/header_php.php to the end of application_top.php file. Now everything works flawlessly and customer is logged in automaticaly when returning on any page of the shop. Also it seems that the zen_redirect line is not needed anymore.

    What do you think about this? I'm not sure if what i did is correct, but everything works like it should on my test site.

  5. #65
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    if it works.. its great :)

  6. #66
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    I had the same problems with this as studeo has. I messed around with the settings and found that if:

    1.) Under Configuration > Customer Details > Customer Shop Status is set to "1= Must login to browse" this mod does not work, any other setting seems to work fine however.

    2.) Under Configuration > Customer Details > Customer Approval Status is set to "1= Must be Authorized to Browse" this mod does not work, any other setting seems to work fine however.

    Is there perhaps a work-around for this in order to get this cool mod working with the abovementioned settings enabled?

    Thanks!

  7. #67
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Excuse the bump, any ideas regarding what code has to change in order to get this working with aforementioned settings enabled?

  8. #68
    Join Date
    Aug 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Well, I've tried to get this module installed and working, but I couldn't get it to autologin. But after reading this thread 3 times I believe I figured out my problem. The site I'm installing it on used a share ssl certificate. So the domain name for the login screen is different then the main domain.

    Once I used the shared cert domain and path I was logged in automatically.

    So is there a way to have the autologin work on the login page instead of the index page? So the domain matches the cookie?

  9. #69
    Join Date
    Feb 2006
    Posts
    31
    Plugin Contributions
    0

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Thanks for the tip b00n. Just for anyone else I found the autologin code seemed to work best when placed at the bottom of the file application_top.php - had some issues with it being at the very top of the file.

  10. #70
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Is a Permanent Login (Auto-Login) Possible?

    Quote Originally Posted by acetate View Post
    Thanks for the tip b00n. Just for anyone else I found the autologin code seemed to work best when placed at the bottom of the file application_top.php - had some issues with it being at the very top of the file.
    This is where i have placed it as well.
    Only drawback, it seems to be only working with IE, not with FF. Any thoughts why that may be?
    Both browsers do have the zen_perma_ coockie...

    Cheers,
    Jeroen

 

 
Page 7 of 22 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. Admin auto login for a cron job
    By Gigo in forum Customization from the Admin
    Replies: 20
    Last Post: 9 Aug 2012, 07:39 AM
  2. Is there a way to auto-login to admin?
    By mikejd in forum General Questions
    Replies: 4
    Last Post: 3 Nov 2009, 09:55 AM
  3. Auto-switching DB login to end 1226 Error
    By Camarilladee in forum Basic Configuration
    Replies: 7
    Last Post: 2 Jun 2006, 05:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR