Just a couple of notes:
- When you open start.asp in your web browser a cookie is set on your
machine. It is this cookie that allows you to create and edit events
directly from the calendar. If others could access this file, they too
would be able to edit your events. If this is not something that you
want, then you should rename start.asp to something that cannot easily
be guessed.
- Taking about security: consider to move your database outside your
public domain in order to protect it. If they know where it is, it can
be downloaded. Alternatively you could just add the .asp extension to
the file name:
Const PATH_TO_DATABASE = "db/asp_calendar.mdb.asp"
- I have a feeling that this code could have been better tested, so
look out for bugs. Especially pay attention to what happens January
1st. It's not so easy for me to test for that in July :-)
- The CSS code for the calendar was adapted from
http://veerle.duoh.com/index.php?id=P312. The background image is taken
from there and also the color scheme. It would have been nice to offer
different "skins" for this code. If anyone creates custom CSS for their
calendars, please consider to post your code or a link here.
terje :-)