[pLog-svn] r5941 - plog/trunk/class/view/admin

Oscar Renalias oscar at renalias.net
Thu Sep 20 15:15:25 EDT 2007


It is needed for the flash uploader, as it is unable to use session  
cookies from the browser and therefore the only solution is to append  
its name and session id manually to the URL where files will be  
uploaded.

On 20 Sep 2007, at 22:10, Jon Daley wrote:

>  	Why is that?
>
> On Thu, 20 Sep 2007, oscar at devel.lifetype.net wrote:
>
>> Author: oscar
>> Date: 2007-09-20 15:09:42 -0400 (Thu, 20 Sep 2007)
>> New Revision: 5941
>>
>> Modified:
>>   plog/trunk/class/view/admin/adminview.class.php
>> Log:
>> Include the name of the session cookie in the template, as we need  
>> it from now on.
>>
>>
>> Modified: plog/trunk/class/view/admin/adminview.class.php
>> ===================================================================
>> --- plog/trunk/class/view/admin/adminview.class.php	2007-09-20  
>> 18:18:27 UTC (rev 5940)
>> +++ plog/trunk/class/view/admin/adminview.class.php	2007-09-20  
>> 19:09:42 UTC (rev 5941)
>> @@ -115,6 +115,8 @@
>> 			//$this->setValue( "menus", $menuRenderer->generateAt("Manage"));
>>
>> 			$this->setValue( 'menu', $menuRenderer );
>> +
>> +			$this->setValue( 'session', session_name());
>>
>> 			parent::render();
>> 		}
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
>
> -- 
> Jon Daley
> http://jon.limedaley.com/
>
> When God asks you to do something, do you do it:
> quickly, quietly, cheerfully, completely?
> -- Greg Gill
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list