--- loncom/homework/chemresponse.pm 2003/10/21 20:58:29 1.22 +++ loncom/homework/chemresponse.pm 2003/11/24 21:55:12 1.24 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # chemical equation style response # -# $Id: chemresponse.pm,v 1.22 2003/10/21 20:58:29 albertel Exp $ +# $Id: chemresponse.pm,v 1.24 2003/11/24 21:55:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -208,7 +208,7 @@ sub start_organicstructure { my $width=&Apache::lonxml::get_param('width',$parstack,$safeeval); my $molecule=&Apache::lonxml::get_param('molecule',$parstack,$safeeval); my $options=&Apache::lonxml::get_param('options',$parstack,$safeeval); - my $id=time.'_'.int(rand(1000)); + my $id=&Apache::loncommon::get_cgi_id(); $result="