• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to reload a custom library

(05-19-2017, 04:51 AM)zashishz Wrote: I have created a custom library which depends on session data.

In my main controller i am initializing session values and want to reload custom library based on new values every time page is refreshed.
Hence, i am using session_destroy(); at the end of my controller method.

But on page refresh library are not reloaded : 

closeOrders class already loaded. Second attempt ignored.

Is there any way i can reload some library again on page refresh.

Thanks for the reply.
I wanted to reload library to populate with updated session data.

Now using Session Flash Data to refresh data on every request and its working fine.

Thanks for the help.

Messages In This Thread
How to reload a custom library - by zashishz - 05-19-2017, 04:51 AM
RE: How to reload a custom library - by zashishz - 05-24-2017, 04:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.