Page 1 of 1

Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 10:54 am
by SimonLuk
Opencart version 3.0.3.6
When I visit admin/sale/order, I focus in the database oc_api_session table , when I refresh the admin/index.php?route=sale/order this page, the table oc_api_session will add a record, refresh more and add more records, does it useful? Thank you!

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 5:41 pm
by paulfeakins
SimonLuk wrote:
Fri Jan 15, 2021 10:54 am
For perfessional Opencart support, please email lovesoftcn@gmail.com
Sounds very "perfessional", I wonder where you got inspiration for your signature ::)

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 6:54 pm
by straightlight
SimonLuk wrote:
Fri Jan 15, 2021 10:54 am
Opencart version 3.0.3.6
When I visit admin/sale/order, I focus in the database oc_api_session table , when I refresh the admin/index.php?route=sale/order this page, the table oc_api_session will add a record, refresh more and add more records, does it useful? Thank you!
It will add more unless using an extension.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 6:55 pm
by straightlight
paulfeakins wrote:
Fri Jan 15, 2021 5:41 pm
SimonLuk wrote:
Fri Jan 15, 2021 10:54 am
For perfessional Opencart support, please email lovesoftcn@gmail.com
Sounds very "perfessional", I wonder where you got inspiration for your signature ::)
Yeah, that is kind of an odd one there ...

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 11:28 pm
by mikeinterserv
straightlight wrote:
Fri Jan 15, 2021 6:55 pm
paulfeakins wrote:
Fri Jan 15, 2021 5:41 pm
SimonLuk wrote:
Fri Jan 15, 2021 10:54 am
For perfessional Opencart support, please email lovesoftcn@gmail.com
Sounds very "perfessional", I wonder where you got inspiration for your signature ::)
Yeah, that is kind of an odd one there ...
Whilst that is funny

No one really provided much of an answer as to WHY its needed and whether they get cleared or not or continue growing that table forever.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Fri Jan 15, 2021 11:43 pm
by straightlight
No one really provided much of an answer as to WHY its needed and whether they get cleared or not or continue growing that table forever.
That question and answer was already provided a long time ago on the forum and on Github Opencart. It's just matter for OP users to find the Google bar.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Sat Jan 16, 2021 12:02 am
by mikeinterserv
straightlight wrote:
Fri Jan 15, 2021 11:43 pm
No one really provided much of an answer as to WHY its needed and whether they get cleared or not or continue growing that table forever.
That question and answer was already provided a long time ago on the forum and on Github Opencart. It's just matter for OP users to find the Google bar.
I know - so instead of everyone typing what they did why not just point to them - Its LESS effort than what was put in to NOT provide an answer That's all :--)

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Sat Jan 16, 2021 12:40 am
by straightlight
mikeinterserv wrote:
Sat Jan 16, 2021 12:02 am
straightlight wrote:
Fri Jan 15, 2021 11:43 pm
No one really provided much of an answer as to WHY its needed and whether they get cleared or not or continue growing that table forever.
That question and answer was already provided a long time ago on the forum and on Github Opencart. It's just matter for OP users to find the Google bar.
I know - so instead of everyone typing what they did why not just point to them - Its LESS effort than what was put in to NOT provide an answer That's all :--)
The more of those doings will simply encourage users to create new topics without searching what they're looking for. Which is why, Google Search has been created 20 years ago so that these people-to-people questions would eventually reduce. After 20 years, I think it's worth the shot to address this.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Sat Jan 16, 2021 1:21 am
by mikeinterserv
I totally agree with you
Trouble is - once the new post IS created by the user its done and you can't go back.
Unless you delete duplicate and redundant posts without warning
Its very hard to get rid of this problem on any board as you know.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Mon Jan 18, 2021 9:46 am
by SimonLuk
paulfeakins wrote:
Fri Jan 15, 2021 5:41 pm
SimonLuk wrote:
Fri Jan 15, 2021 10:54 am
For perfessional Opencart support, please email lovesoftcn@gmail.com
Sounds very "perfessional", I wonder where you got inspiration for your signature ::)
Hahah, from you

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Mon Jan 18, 2021 9:51 am
by SimonLuk
mikeinterserv wrote:
Sat Jan 16, 2021 1:21 am
I totally agree with you
Trouble is - once the new post IS created by the user its done and you can't go back.
Unless you delete duplicate and redundant posts without warning
Its very hard to get rid of this problem on any board as you know.
Sorry, I don't know this issue has been posted by others and make trouble for yours.

Re: Need help for api session, why alway add a record to oc_api_session?

Posted: Mon Jan 18, 2021 1:34 pm
by straightlight
Trouble is - once the new post IS created by the user its done and you can't go back.
That's right. Which is why, we have to keep moving forward.