Welcome Guest, Not a member yet? Register   Sign In
Session Class failing to initialize on Refresh
#1

[eluser]Unknown[/eluser]
Hi All

I seem to have hit a road block with the dear old CI session library. When a page first loads, everything loads fine, and the log files look like this:

Code:
DEBUG - 2013-07-02 14:40:25 --> Config Class Initialized
DEBUG - 2013-07-02 14:40:25 --> Hooks Class Initialized
DEBUG - 2013-07-02 14:40:25 --> Utf8 Class Initialized
DEBUG - 2013-07-02 14:40:25 --> UTF-8 Support Enabled
DEBUG - 2013-07-02 14:40:25 --> URI Class Initialized
DEBUG - 2013-07-02 14:40:25 --> Router Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Output Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Security Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Input Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Global POST and COOKIE data sanitized
DEBUG - 2013-07-02 14:40:26 --> Language Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Loader Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Helper loaded: url_helper
DEBUG - 2013-07-02 14:40:26 --> Helper loaded: string_helper
DEBUG - 2013-07-02 14:40:26 --> Database Driver Class Initialized
DEBUG - 2013-07-02 14:40:26 --> Session Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Config Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Hooks Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Utf8 Class Initialized
DEBUG - 2013-07-02 14:40:45 --> UTF-8 Support Enabled
DEBUG - 2013-07-02 14:40:45 --> URI Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Router Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Output Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Security Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Input Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Global POST and COOKIE data sanitized
DEBUG - 2013-07-02 14:40:45 --> Language Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Loader Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Helper loaded: url_helper
DEBUG - 2013-07-02 14:40:45 --> Helper loaded: string_helper
DEBUG - 2013-07-02 14:40:45 --> Database Driver Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Session Class Initialized
DEBUG - 2013-07-02 14:40:45 --> A session cookie was not found.
DEBUG - 2013-07-02 14:40:45 --> Session routines successfully run
DEBUG - 2013-07-02 14:40:45 --> Controller Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Config file loaded: application/config/ion_auth.php
DEBUG - 2013-07-02 14:40:45 --> Session class already loaded. Second attempt ignored.
DEBUG - 2013-07-02 14:40:45 --> Language file loaded: language/english/ion_auth_lang.php
DEBUG - 2013-07-02 14:40:45 --> Model Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Model Class Initialized
DEBUG - 2013-07-02 14:40:45 --> Helper loaded: cookie_helper
DEBUG - 2013-07-02 14:40:45 --> Helper loaded: date_helper
DEBUG - 2013-07-02 14:40:45 --> Session class already loaded. Second attempt ignored.
DEBUG - 2013-07-02 14:40:45 --> File loaded: application/views/content/login.php
DEBUG - 2013-07-02 14:40:45 --> File loaded: application/views/layout/main.php
DEBUG - 2013-07-02 14:40:45 --> Final output sent to browser
DEBUG - 2013-07-02 14:40:45 --> Total execution time: 0.3642

When the page refreshes, however, it seems to stop loading once it gets to the Session Library (log file shown below). The page will only load again properly if I manually delete the cookie. This happens in both Chrome and Firefox.

Code:
DEBUG - 2013-07-02 14:41:00 --> Config Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Hooks Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Utf8 Class Initialized
DEBUG - 2013-07-02 14:41:00 --> UTF-8 Support Enabled
DEBUG - 2013-07-02 14:41:00 --> URI Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Router Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Output Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Security Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Input Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Global POST and COOKIE data sanitized
DEBUG - 2013-07-02 14:41:00 --> Language Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Loader Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Helper loaded: url_helper
DEBUG - 2013-07-02 14:41:00 --> Helper loaded: string_helper
DEBUG - 2013-07-02 14:41:00 --> Database Driver Class Initialized
DEBUG - 2013-07-02 14:41:00 --> Session Class Initialized

Anybody have any ideas what might be causing it to hang?




Theme © iAndrew 2016 - Forum software by © MyBB