Welcome Guest, Not a member yet? Register   Sign In
Using SWFUpload + Sessions + upload class, how I did it.
#29

[eluser]defunct[/eluser]
I did try it, and flash is still creating a new session in my database.

I had to encapsulate with single quotes or it would break swfupload due to the " and the { in the cookie

Code:
post_params: {"<?php echo $this->config->item('sess_cookie_name'); ?>" :'<?php echo $this->session->get_cookie_data(); ?>'},

and outputs as

Code:
post_params: {"ci_session" :'a:4:{s:10:"session_id";s:32:"e55ck53405a9fc762cf3f153a0ce6162";s:10:"ip_address";s:13:"192.168.200.1";s:10:"user_agent";s:50:"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv";s:13:"last_activity";s:10:"1237774716";}f929353264c04b5e2e90a05b7080a91e'},

Still no go Sad


Messages In This Thread
Using SWFUpload + Sessions + upload class, how I did it. - by El Forum - 03-23-2009, 10:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB