This message was edited by chick80 at 2002-9-15 12:14:21
: I've created a single login page. In which usernames and passwords are stored on table in access. My question is how can you restrict users to print some pages. depending what users is logged on, that user may be able to print or not.
: How can you do that using ASP?
... really, I don't know if you can do this, but even if you can it won't be so useful... if the user cannot print the page, he can always save the page and then print it offline, or simply hit the 'Stamp' key to grab the screen, open a paint program and paste it!!!
Anyway, if ever there is a mode to avoid the user printing the page, then you can just create a cookie in which you store the "user-type" (something that means "Can print all", "Can print only some type of pages" or "Cannot print anything"), when the user logs in.
Then you can check the cookie at print-time!
How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.