OpenCart with my framework please help!
3 posts
• Page 1 of 1
OpenCart with my framework please help!
Hey there,
I am integrating OpenCart with my current framwork for an existing site. I want to take advantage of the logging in that OpenCart Provides.
What session variables can I check to see if a user is logged in?
Keep in mind that I want to do this from my framework
I am integrating OpenCart with my current framwork for an existing site. I want to take advantage of the logging in that OpenCart Provides.
What session variables can I check to see if a user is logged in?
Keep in mind that I want to do this from my framework

- morpheis91
- Posts: 6
- Joined: Wed Feb 29, 2012 4:21 pm
Re: OpenCart with my framework please help!
$this->session->data['customer_id'] = $customer_query->row['customer_id'];
-

amdev - Posts: 168
- Joined: Fri Nov 27, 2009 7:40 am
- Location: Bangkok - Thailand
Re: OpenCart with my framework please help!
amdev wrote:$this->session->data['customer_id'] = $customer_query->row['customer_id'];
So if I were to use the normal php session access. Would i do something like this? :
- Code: Select all
$session_data = $_SESSION['data'];
$customerId = $session_data['customer_id'];
I am not doing this from within the opencart framework. So would this be appropriate?
- morpheis91
- Posts: 6
- Joined: Wed Feb 29, 2012 4:21 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests













