I'm working on an application based on the Wrox Classified example in Chap. 15.
My home computer is set up as the server using IIS.
Everything works fine if I use the URL in my browser with the IP address i.e. http://188.8.131.52/Directory/index.asp
I also registered a Domain name and use URL forwarding. When I type in the domain name i.e www.MyDomain.com
it points to the correct page, but won't allow me to login. It connects to the database and checks the username, but for some reason does not hold the session UserID, so when the login redirects to the default page, the code that checks to make sure you are logged:
If Session("UserID") = "" Then
redirects to the index.asp page.