Welcome Guest, Not a member yet? Register   Sign In
Flash Uploader and Session Problems Explained.
#1

[eluser]outrage[/eluser]
Hey guys,

I've actually posted this before in other threads but still seeing the question and several esoteric ways of trying to get around the problem, over and over again.

So you're trying to use one of the various Flash upload components but something weird is happening to your sessions?

A simple work-around for this is to change the following in your config file:

Change this -> $config['sess_match_useragent'] = TRUE;

To this -> $config['sess_match_useragent'] = FALSE;

Basically, the CI session manager is getting a different 'user-agent' string from the Flash component and destroying your session.

You may worry about the security implications associated with this, but realistically, the 'user-agent' string is so easy to fake, it's hardly worth checking for it.

Hope this helps someone since I spent hours trying to figure it out Sad




Theme © iAndrew 2016 - Forum software by © MyBB