Welcome Guest, Not a member yet? Register   Sign In
loading session data in routes

hey there

so obviously i am a newbie. i am trying to make some small changes to a site built with codeigniter, specifically url changes.

the pages in question get their data based on the session data.

so the user goes from domain.com -> domain.com/school_ID -> domain.com/events

in the events page, the data is pulled according to a session created when user clicks on school_ID

i am trying to get the url to look like : domain.com/school_ID/events

the school url used to be domain.com/home/school/school_ID but i changed it in routes, and would like to do the same for these pages.

is there any way i can call the session data in routes and create the url that way? or do i need to change the model system?

this is probably confusing, but thanks anyways!

Theme © iAndrew 2016 - Forum software by © MyBB