disable printing an output of a perl script file

2002-07-12 Thread FLAHERTY, JIM-CONT

I have a quiz program, the script queries the DB and print to the browser a
test for the student to take. I would like to prevent them from printing
that test. All my clients are IE 6.0 
 
Thanks 
 
Jim 



Re: disable printing an output of a perl script file

2002-07-12 Thread zentara

On Fri, 12 Jul 2002 07:25:19 -0400, [EMAIL PROTECTED] (Jim-Cont
Flaherty) wrote:

>I have a quiz program, the script queries the DB and print to the browser a
>test for the student to take. I would like to prevent them from printing
>that test. All my clients are IE 6.0 

I don't think that is possible. They can always save the page, or even
take screenshots. Then email them off to themselves.
Your best best is to make randomized tests,
so no student recives the same set of questions.
Just have a huge base of questions.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: disable printing an output of a perl script file

2002-07-12 Thread Bob Showalter

> -Original Message-
> From: FLAHERTY, JIM-CONT [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 7:25 AM
> To: Beginners (E-mail)
> Subject: disable printing an output of a perl script file
> 
> 
> I have a quiz program, the script queries the DB and print to 
> the browser a
> test for the student to take. I would like to prevent them 
> from printing
> that test. All my clients are IE 6.0 
> 

You can add something like this to the  section of your page:

@media print { BODY { display: none; } } 

But that is easily defeated of course, using any number of methods.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]