I am having two domain urls for my online store:
example1.com for admin,
and example2.com for front end.
My CI project on both the URLs access the same database.
So, the problem now is when I stay in the admin side, everything works fine. But if I visit the front end site once and then come back to admin url and reload, then my session is destroyed and I have to login again.
If any one can explain me why the session is being destroyed.
So, I want a solution here to access the same database in different urls in codeigniter with out destroying the session.