Log in or register to post comments
Last post
Sessions with php
Hello,

I was trying to make the system a bit saver by adding some connection-state via session in the function CheckAuthentication().
How can I pass a session_id in the call of a popup-CKFinder? I do not use cookies for sessions.

I think there should be a kind of parameter like in the following code or is there an other way to implement this?

function BrowseServer(fieldname,lctype,lcsessionid)
{
   findertarget = fieldname;
   findertype = lctype;
   var finder = new CKFinder() ;
   finder.BasePath = '../ckfinder/' ;   // The path for the installation of CKFinder (default = "/ckfinder/").
   finder.SelectFunction = SetFileField ;
   finder.sessionName = 'GSAG';
   finder.sessionId = lcsessionid;
   finder.Popup() ;
}


Regards Bernhard
Re: Sessions with php
Hmm maybe I'm wrong but it may be hard to achieve that. If you don't want to use cookies, it may be a better solution to use the HTTP authentication ($_SERVER['PHP_AUTH_USER'] etc.).

Wiktor Walc
CTO
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+