I don't see anything that prevents the ShipStation Sync from being fired multiple times by separate users.
The postback timer is disabled initially, so the panels showing that a sync is in progress won't update until the Sync button is pressed. And the Sync button (or the thread routine) never does a check to see if the Sync is already running.
Seems like it would be more safety-friendly to have the timer enabled by default. That way, anyone loading the page will know (within 5 seconds) if a sync is currently in progress. Since the sync button is hidden during the timer postback event, this would also prevent a separate user from firing the sync routine again.
Am I missing something?
ShipStation Sync - how to prevent separate users firing it
ShipStation Sync - how to prevent separate users firing it
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: ShipStation Sync - how to prevent separate users firing it
Hi Joe,
It seems like this issue wouldn't be common, and could be prevented with a little communication by the employees working the store. However, I understand the concern, and especially if the shipstation sync is taking significant time.
For some reason, I thought you can enable the progress timer on a per page basis.
Katie
It seems like this issue wouldn't be common, and could be prevented with a little communication by the employees working the store. However, I understand the concern, and especially if the shipstation sync is taking significant time.
For some reason, I thought you can enable the progress timer on a per page basis.
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: ShipStation Sync - how to prevent separate users firing it
I agree, not likely in the small mom-and-pop shops. But bigger shops easily have multiple people working the warehouse/shipping department.
The progress timer is enabled per-page, but only displays once the Sync button is clicked. So if a sync is already in progress when you first access the page, you have no idea the sync is running because you haven't pressed the Sync button yourself. By then, now two instances of Sync have spawned.
The progress timer is enabled per-page, but only displays once the Sync button is clicked. So if a sync is already in progress when you first access the page, you have no idea the sync is running because you haven't pressed the Sync button yourself. By then, now two instances of Sync have spawned.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com