Chris,
I had a similar problem with my swfuploader component which was losing
the session on IE only. Turns out it was a simple change in the
cakephp core configuration that fixed it.
Change Configure::write('Session.checkAgent', true); in core.php to
false.
Hope this helps,
Mike
On Feb 8, 10:01 pm, "[email protected]" <[email protected]> wrote:
> Hi guys,
>
> need help with UPLOAD...
> I have SWF Uploader originaly setup on a script for photos.
> And its uploading greate on photos,... however I have created groups
> and group photos seperated from original one.
> Now with this when I'm trying to upload I'm loosing session_id() when
> I try to set it up to::: post_params: {"PHPSESSID": "<?php echo
> session_id(); ?>"},
>
> HERE IS THE ORIGINAL for PHOTOS
>
> var swfu;
>
> window.onload = function() {
> var settings = {
> flash_url : "<?php echo $this->webroot ?>swf/swfupload.swf",
> upload_url: "<?php echo $html->url('/photos/upload?
> PHPSESSID=' . session_id(), true) ?>", // Relative to the SWF file
> post_params: {},
>
> HERE IS THE ONE for GROUP PHOTOS when its lossing session_id()
>
> var swfu;
>
> window.onload = function() {
> var settings = {
> flash_url : "<?php echo $this->webroot ?>swf/swfupload.swf",
> upload_url: "<?php echo $html->url('/groups/upload/' .
> $group['Group']['id'], true) ?>", // Relative to the SWF file
> post_params: {"PHPSESSID": "<?php echo session_id(); ?>"},
>
> AND HERE IS THE ONE for GROUP PHOTOS when I'm having with group ID ...
> $group['Group']['id'] in there,... BUT THIS ONE GIVES ME AN ERROR. I
> CAN'T FIGURE OUT WHAT'S WRONG IN IT...
>
> CAN ANYONE HELP... ???
>
> var swfu;
>
> window.onload = function() {
> var settings = {
> flash_url : "<?php echo $this->webroot ?>swf/swfupload.swf",
> upload_url: "<?php echo $html->url('/groups/upload/ .
> $group['Group']['id']?PHPSESSID=' . session_id(), true) ?>", //
> Relative to the SWF file
> post_params: {"PHPSESSID": "<?php echo session_id(); ?>"},
>
> or can anyone suggest good uploader,... so it can upload
> all: .jpg, .bmp, .gif, .pdf. ect... this SWF uploader is good, it can
> upload multiple files. any ohter good once out there...???
>
> THANK YOUUUUU ALLLLL !!!
> chris
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php