LIMS-Controller

 view release on metacpan or  search on metacpan

lib/LIMS/Controller.pm  view on Meta::CPAN

			# compare session time in db with that from cgi
			if (( $sess_start_secs > Date::EzDate->new( $self->current_sess_time )->{'epoch second'}) &&
				( $self->back_sensitive)) {	# is an 'old' session
					$self->standard_error("Data from this page has already been entered into the database.","Please don't use the browser's 'back' button after submitting a form");
					$self->kill_pipeline;
			} else {
				$self->update_session;
			}
		}
	}
	sub update_session {
		my $self = shift;
		$self->alter_session_id(1);
	}
	sub close_session {
    	my $self = shift;		
    	$self->alter_session_id(0);
	}
	sub log_out {
		my $self = shift;
		$self->close_session;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.044 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )