Skip to content
Browse files

Changed scoid pass mode from SESSION to POST to fix a problem with tr…

…acking update
  • Loading branch information...
1 parent 73a2a50 commit 144f3abebc26ff6fad9e66c66ddc146f01c8ac1d bobopinna committed Jul 7, 2005
Showing with 3 additions and 1 deletion.
  1. +1 −0 mod/scorm/datamodels/scorm1_2.js.php
  2. +2 −1 mod/scorm/datamodels/scorm1_3.js.php
View
1 mod/scorm/datamodels/scorm1_2.js.php
@@ -506,6 +506,7 @@ function StoreData(data,storetotaltime) {
} else {
datastring = CollectData(data,'cmi');
}
+ datastring += '&scoid=<?php echo $sco->id ?>';
//popupwin(datastring);
var myRequest = NewHttpReq();
result = DoRequest(myRequest,"<?php p($CFG->wwwroot) ?>/mod/scorm/datamodel.php","id=<?php p($id) ?>&sesskey=<?php p($USER->sesskey) ?>"+datastring);
View
3 mod/scorm/datamodels/scorm1_3.js.php
@@ -469,7 +469,8 @@ function StoreData(data,storetotaltime) {
} else {
datastring = CollectData(data,'cmi');
}
- //popupwin(datastring);
+ datastring += '&scoid=<?php echo $sco->id ?>';
+ //popupwin(datastring);
var myRequest = NewHttpReq();
result = DoRequest(myRequest,"<?php p($CFG->wwwroot) ?>/mod/scorm/datamodel.php","id=<?php p($id) ?>&sesskey=<?php p($USER->sesskey) ?>"+datastring);
results = result.split('\n');

0 comments on commit 144f3ab

Please sign in to comment.
Something went wrong with that request. Please try again.