[eluser]Perkin5[/eluser]
I have set up pagination for my project and it works fine. But when I navigate away from the 'paginated page', I want to be able to return to the same page. I note that the URI has the offset added to it and I have used this:
Code:
$this->session->set_userdata('current',current_url());
to grab that uri. But then if I try to navigate to
Code:
$this->session->userdata('current');
the page can't be found - because of the offset.
I'm sure I'm setting about it the wrong way but I've thought about it quite a bit and I can't work it out. Can anyone advise please?