Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2003, 05:59 PM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default URL forwarding and Login

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
URL rewriting with URL forwarding mtabyana BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 0 October 22nd, 2007 08:22 AM
Forwarding emails problem.. kabucek Wrox Book Feedback 0 August 8th, 2006 09:08 AM
email forwarding socoolbrewster Beginning PHP 1 October 21st, 2005 12:30 AM
forwarding a parameter to the subreport ! sansmail Crystal Reports 0 April 19th, 2004 10:19 AM
Domain forwarding with web.config? mcpine9 ASP.NET 1.0 and 1.1 Basics 8 March 16th, 2004 01:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.