Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 7th, 2003, 04:59 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
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
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 12:42 AM



All times are GMT -4. The time now is 12:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.