Welcome Guest, Not a member yet? Register   Sign In
Problem with session handling
#3

(This post was last modified: 04-26-2024, 04:41 AM by Julesb.)

Hi Kenjis

Thanks for the ideas

Had a long look at various solutions, replacing the session class was just a pain as it did not fix the problem and  caused others.

Ended editing Codeigniter.php

Line 1069 now reads
Code:
        if (isset($_SESSION)) {
            $_SESSION['_ci_previous_url'] = URI::createURIString(
                $uri->getScheme(),
                $uri->getAuthority(),
                $uri->getPath(),
                $uri->getQuery(),
                $uri->getFragment()
            );
        }


Basically as its a string returned by URI::createURIString you don't really need the complex session handling stuff, not an optimum solution though.

Managed to get my brain in gear, replaced the CodeIgniter class with my own.
Reply


Messages In This Thread
Problem with session handling - by Julesb - 04-25-2024, 09:56 AM
RE: Problem with session handling - by kenjis - 04-25-2024, 03:58 PM
RE: Problem with session handling - by Julesb - 04-26-2024, 04:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB