You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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