Welcome Guest, Not a member yet? Register   Sign In
Problem with extended Email class
#2

[eluser]jakelehner[/eluser]
Autoload is loading the email library for Controllers and Models which have access to the default CI instance. Since you're creating your own instance of CI under $ci, you'll need to call $ci->load to load the email library under that instance.

Aside from that, this doesn't sound like the most efficient way to troubleshoot the sessions expiring early. Troubleshooting sessions is tricky, but the email approach likely won't yield much.

Figure out if your session is expiring when the 'sess_time_to_update' timer is expiring. That's pretty common and usually means a cookie issue or something is mis-configured. To test this, set your update value really low (in a dev environment) to something like 5 seconds. Log in, and start refreshing the page. If you're logged out in 5 seconds, you'll get a better idea of where to look.


Messages In This Thread
Problem with extended Email class - by El Forum - 08-07-2012, 10:58 AM
Problem with extended Email class - by El Forum - 08-07-2012, 12:32 PM
Problem with extended Email class - by El Forum - 08-07-2012, 09:12 PM
Problem with extended Email class - by El Forum - 08-08-2012, 09:36 AM
Problem with extended Email class - by El Forum - 08-08-2012, 10:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB