Post by jnymris » Sun Jan 22, 2012 5:45 am

I'm currently working on expanding OpenCart. However the main feature taht my customer app is missing is the ability to automatically log users in.

My current set-up is a user's "Store" is located in a sub folder for example:
www.domain.com/store
but another member can have another store at
www.domain.com/store2
these both use separate databases this is working perfectly.

however what i'm trying to do is once a member of staff has logged into /admin section and go to www.domain.com. i want to be able to use the token they have already logged in.

How would i be able to tap into this? This would be a massive help.

Thanks Very much

Newbie

Posts

Joined
Thu Aug 19, 2010 6:08 pm

Post by JAY6390 » Sun Jan 22, 2012 7:05 am

To do this successfully, you would need to update both databases when an admin logs in, not just one, and set the tokens to be identical

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by rahuljain1991 » Sat Jan 18, 2025 10:23 pm

Hi, i was searching for same thing. and successfully done it now for my client having multiple stores on same domain.
for oc 3.x

Rahul Jain
IT Support - always available to help
My Opencart Extensions
Authentic IT Services - Web design and development
AIS MarketPlace


New member

Posts

Joined
Thu Nov 16, 2017 1:39 am

Who is online

Users browsing this forum: No registered users and 4 guests