--- loncom/lonnet/perl/lonnet.pm 2006/10/30 11:10:51 1.801 +++ loncom/lonnet/perl/lonnet.pm 2006/11/10 02:04:31 1.802 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.801 2006/10/30 11:10:51 foxr Exp $ +# $Id: lonnet.pm,v 1.802 2006/11/10 02:04:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3219,12 +3219,15 @@ sub eget { # ------------------------------------------------------------ tmpput interface sub tmpput { - my ($storehash,$server)=@_; + my ($storehash,$server,$context)=@_; my $items=''; foreach my $item (keys(%$storehash)) { $items.=&escape($item).'='.&freeze_escape($$storehash{$item}).'&'; } $items=~s/\&$//; + if (defined($context)) { + $items .= ':'.&escape($context); + } return &reply("tmpput:$items",$server); }