Jump to content

Session time in module


paquedo

Recommended Posts

Hello!!

 

I'm developing a module to import products from a specific provider. This module gets the file by ftp, add new categories and add or update products.

 

My problem is that the processing has 3 parts (one of this in ajax) and when the ajax finish and show data in prestashop backoffice (to change some data and save data), the backoffice session has finished and is not possible to finish the process.

 

I modify the parameter PS_COOKIE_LIFETIME_BO but doen's solve the problem

 

what can I do?

 

Thanks

Edited by paquedo (see edit history)
Link to comment
Share on other sites

what you mean by that? you mean that script stop executing? without errors? 

No, the script (by ajax) show data (a form to change some attributes) and have a button to save these atributtes and the products, but when I click on the button, goes to the login page instead continues the processing.

 

The csv to load has 15.000 prod, if I reduce to 100 prod, it's works well

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...