| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Making it so they don't have to re-login everytime | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Making it so they don't have to re-login everytime
I have some visitors complaining about having to re-login everytime they come back.
How difficult is it to keep them logged in until they log out. Maybe set a cookie that gets read upon return and creates the session? |
|||||||||
#2
|
|||||||
|
|||||||
Sorry i can not help you with a solution, but i would be verry carefull
with this. What happens if somebody stays logged in at the office or such? Especially when you store creditcard information it can lead to verry unpleasant situations. Who will be responsible if other people start bying on his account? Cheers Eddie |
|||||||
#3
|
|||||||||
|
|||||||||
Yup, I understand the possible ramifications.
I NEVER store credit card information on my records, I just don't want that responsibility, and the user takes responsibility for their account in our terms of service. |
|||||||||
#4
|
|||||||
|
|||||||
If you change inlcude/check_useraccount.php: from
Code:
to Code:
That will save their session for 6 months - but I would warn against it for all the same reasons as highlighted.
__________________
ex x-cart guru |
|||||||
#5
|
|||||||||
|
|||||||||
Would it be possible to add a check box next to the login box
[X] Remember my Password ? |
|||||||||
#6
|
|||||||||
|
|||||||||
That's a good idea, and then maybe have a javascript popup warning when they check it.
I'll work on this tonight and see what I can come up with, don't see why it wouldn't be doable. |
|||||||||
#7
|
|||||||||
|
|||||||||
Cool!!! Keep us updated on your progress. Something like that would be very usefull!
|
|||||||||
#8
|
|||||||
|
|||||||
yeah, that sounds really good, if you get the code for it, please share
|
|||||||
#9
|
|||||||||
|
|||||||||
session_set_cookie_params(15552000);
Adding that does not seem to work to keep sessions. I can do the logistics of the checkbox, and what not, but I'm having difficulty getting it to set the extended cookie, and I need to do that first. |
|||||||||
#10
|
|||||||||
|
|||||||||
Quote:
Definitely doesn't work, any other thoughts? |
|||||||||
|
|||
X-Cart forums © 2001-2020
|