Dear shabbir,

Your code is working perfect, thank you for sharing this.

But i have a question.

I would like to direct diffent users to diffent pages.
Like this:
-> User A has to redirect to page welcome1.asp
-> User B has to redirect to page welcome2.asp
-> User C has to redirect to page welcome3.asp
-> User D has to redirect to page welcome1.asp
and so on...

Can you tell me how to implement this in you code.

Thank you very much
Peter