Thinking Further, which may help you to help me, as the users are logged on already, authentication isn't really needed, however to record the sessions and secure users from accessing specific parts of the database, the application must retrive the user name from the Windows user list and work out who's using it. I have created a sessions MsSQL DB that can store the user names and usage level. So what I need to know is what functions I'd need to create for it and can I use Apache to host this. Thanks