Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 April 2nd, 2005, 02:45 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to david29118 Send a message via MSN to david29118
Default URL Redirect Help

Hello everyone. I am hoping someone can help me with this problem I am faced with on my new site design.

I have a page named Pre-Orders.asp which loads all pre-order dvd's from a access database. The Primary Key for the dvd records is "DVDID". The Pre-Orders.asp is a non-frames page. Within in each pre-order dvd that is listed is the url in which a user can click on to order the dvd through my amazon.com affiliation. However in a way to minimize departure from my site I would like to set the link of each dvd that is able to be ordered to load my page named "Frames.asp" which has a upper frame named "topframe" for the logo / navigation menu to my site and the lower frame named "mainframe".

The column name for the url in which the user should be directed to based on the content from my access database is "BuyURL".

Okay so here is the step by step break down in which i'm looking to achieve here:

1. User loads Pre-Orders.asp
2. User sees dvd which is desired and clicks the link associated with that dvd.
3. Execution of the link loads "Frames.asp" and redirects the "mainframe" page named "Redirect.asp" to the url bound to that DVD in which he/she selected.

I greatly appreciate any help from anyone out there so i can get this headache to go away once and for all.

David Watson

 
Old April 2nd, 2005, 08:22 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

I havnt used frames for a very long time now (people still use frames? - just kidding) An anchor tag has a target property, simply put the name of destination frame in the target value. If you Google 'using links in frames' it will become clear.
You say:
;;;However in a way to minimize departure from my site...
There are other ways to do this - FYI google 'why are frames so bad' also

Wind is your friend
Matt
 
Old April 3rd, 2005, 03:07 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to david29118 Send a message via MSN to david29118
Default

Point taken. I have learned that google as well as other search engines cannot read the contents of a frameset. Frames has effectivly been removed from my site for good.

Thanks a million Matt.

 
Old April 3rd, 2005, 06:09 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

You are welcome:

Being fair to those who still use them. Frames can be created well, please let me add - In my experience, that was my opinion.

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
adding anchor to response.redirect url bugati ASP.NET 1.0 and 1.1 Professional 1 August 2nd, 2012 08:22 AM
URL Redirect based on given URL somnath.kartic VS.NET 2002/2003 1 August 2nd, 2012 08:21 AM
redirect url question newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 August 22nd, 2007 12:48 PM
Redirect URL to File path han_nomad C# 12 February 2nd, 2007 06:26 AM
Page redirect based on URL somnath.kartic ASP.NET 1.0 and 1.1 Basics 0 April 3rd, 2006 04:45 AM





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