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://24.242.38.146/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
Response.Redirect "index.asp"
End If
%>
redirects to the index.asp page.
Any thoughts?
Thanks
Larry