How to login with sessionId

I want to using SWFUpload to upload multi-files. but I can’t auto-login by PHPSESSID.

The only one variable I can get is PHPSESSID by POST method, how to auto-login in Yii?

Thanks.

Do you have to use SWFUpload for this purpose? Can’t you make use of CMultiFileUpload - a built-in Yii class for exactly the same - handling multifile uploads? Why to try to open already open wind or reinvent already invented wheel?

yep, i have to because I need selecte multi-files in one select dialog. I found using flash is the only one way except Java…