/[cvs]/nfo/php/libs/org.netfrag.flib/Tracker/User.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Tracker/User.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by joko, Mon Jun 7 16:54:53 2004 UTC revision 1.18 by jonen, Tue Jun 22 09:15:50 2004 UTC
# Line 13  Line 13 
13  //    $Id$  //    $Id$
14  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
15  //    $Log$  //    $Log$
16    //    Revision 1.18  2004/06/22 09:15:50  jonen
17    //    bugfix: use unique cache-keys at createGuest
18    //
19  //    Revision 1.17  2004/06/07 16:54:53  joko  //    Revision 1.17  2004/06/07 16:54:53  joko
20  //    modified cache-key  //    modified cache-key
21  //    added cache-control  //    added cache-control
# Line 248  class User { Line 251  class User {
251      global $site;      global $site;
252      //print "saving to backend: " . dumpVar($result) . "<br>";      //print "saving to backend: " . dumpVar($result) . "<br>";
253      if(!$this->pObject) {      if(!$this->pObject) {
254          $cache_key = php::CreateGUID() . "_guest";
255          print "guest_cache_key: $cache_key <br>";
256        $rpcinfo = $this->site->configuration->get("rpcinfo");        $rpcinfo = $this->site->configuration->get("rpcinfo");
257        $pObject = mkObject('DesignPattern::RemoteProxy', 'guest', array( key => 1, command => 'createGuestUser', '', remote => 1, rpcinfo => $rpcinfo, cache => array( db => 1, session => 1 ), connect => 1 ) );        $pObject = mkObject('DesignPattern::RemoteProxy', $cache_key, array( key => 1, command => 'createGuestUser', '', remote => 1, rpcinfo => $rpcinfo, cache => array( db => 1, session => 1 ), connect => 1 ) );
258        $response = $pObject->getResult();        $response = $pObject->getResult();
259      } else {      } else {
260        $response = $this->pObject->backend->send('createGuestUser');        $response = $this->pObject->backend->send('createGuestUser');

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed