Welcome Guest, Not a member yet? Register   Sign In
How to reload a custom library

(05-19-2017, 03: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, 03:51 AM
RE: How to reload a custom library - by zashishz - 05-24-2017, 03:47 AM

Theme © iAndrew 2016 - Forum software by © MyBB