Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 9th, 2004, 09:32 PM
bennylee bennylee is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 3 bennylee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question I need a simple re-direct script please

I have registered 2 domain name point to one site URL and URL
first-base.com is the main site, I would like to redirect URL to this page
"http://www.first-base.com/item.info/index.htm"
Can someone please give me a simple script and show me where to put it. I am not familiar to asp.
Thank you in advance
Benny Lee

Reply With Quote
  #2  
Old March 15th, 2004, 10:13 PM
aanand_27 aanand_27 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: BANGAKORE-PROJECT
Posts: 3 aanand_27 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Try This Out

<HTML>
<HEAD>
<TITLE>Online Tracking System- ADLER</TITLE>
<%
if Request.Form("Submit1")="Go" then

Set cnn = Server.CreateObject("ADODB.Connection")
set rs = server.CreateObject("ADODB.RECORDSET")
cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Inetpub\wwwroot\HHHHH.mdb"
sql="select * from logintable where login='" & Request.Form("t1") &"' and password='"& Request.Form("t2") &"'"
rs.Open sql,cnn
if rs.eof = false then
if request.form("username1")="admin" then

server.transfer ("http ")

end if
Response.Redirect("http:// ")
end if
end if
%>
</BODY></HTML>

Reply With Quote
  #3  
Old April 27th, 2004, 07:58 AM
marc_2ky marc_2ky is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 14 marc_2ky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 55 sec
Reputation Power: 0
redirect

have an index.asp page on your www.firstbasetemplates.com domain

and have the following code...



this should work fine if its a simple re-direct you want.

Marc

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > I need a simple re-direct script please


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway