Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Making it so they don't have to re-login everytime

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 10-29-2004, 12:48 PM
 
ProjectShadow ProjectShadow is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 55
 

Default

Well I attempted an install of this module in my X-Cart version 3.5.11, but it doesn't work.

I don't know much about cookies so I'm pretty much at a dead end. If anyone has successfully installed this on their 3.5.xx cart I would love to get a fix so that this works.

Thanks,

Adam
__________________
Adam L Golson
X-Cart v3.5.11 [Linux]
Reply With Quote
  #42  
Old 10-29-2004, 01:04 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

As mentioned, I'm working on many things currently, and don't have the time to work on this now, though if there is interest I may create a mod for this in the future. In the meantime, if somebody really wanted this I'd be willing to construct it at an hourly rate.
Reply With Quote
  #43  
Old 02-11-2005, 06:08 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Took a year, but I finally go to it

Here's the final product.

http://www.websitecm.com/store/customer/product.php?productid=89
Reply With Quote
  #44  
Old 06-01-2005, 03:24 AM
 
phil_ phil_ is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Northern Ireland
Posts: 56
 

Default

I just ordered this mod and it works great, really good for the returning customer to not have to log in again!

I'd recommend this mod.

Philip.
__________________
-----------------------------------------
X-Cart5 v5.2.16 (Live)
-----------------------------------------
Reply With Quote
  #45  
Old 06-01-2005, 11:52 AM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default

Quote:
Originally Posted by Jon
Took a year, but I finally go to it

Here's the final product.

http://www.websitecm.com/store/customer/product.php?productid=89

Any chance you'd share the basic idea of how you built this mod so I can add it to my store? If you give me a brief explanation I can probably code it myself. I've got so much customization on my site, I'd rather build my own version than order the mod.
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote
  #46  
Old 06-01-2005, 10:43 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Set, reset, and read from a cookie The mod will integrate no problem regardless of customization.
Reply With Quote
  #47  
Old 06-02-2005, 08:30 AM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default

Did you decide to store the password in a cookie or are you using some kind of system to generate a unique token/hash value that can be used to log the user in automatically without their password? The password way is easier, but less secure. I've never built an auto-login system that does it the other (more secure) way, but that's the way I'll probably do it.
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote
  #48  
Old 06-02-2005, 12:36 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

I stored an encrypted password in the cookie.
Reply With Quote
  #49  
Old 06-02-2005, 03:01 PM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default

Gotcha. So you're actually encrypting the user's password, saving as a cookie, then when they come back you pass the cookie and decrypt it. Did you make your own encryption method or did you go with x-cart's text crypt functions.

I could be wrong, but It seems like if you're passing the x-cart encrypted password , you might be opening a bit of a security hole since that would make it easier to guess the salt used by the x-cart crypt function. Just a thought. Anyway, thanks for letting me know how yours works. I will refrain from posting a detailed "how-to" if I do this mod for my store.
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote
  #50  
Old 06-02-2005, 03:14 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Do you have MSN Messenger?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:30 AM.

   

 
X-Cart forums © 2001-2020