automatic redirects

This is a discussion on "automatic redirects" within the Classic ASP section. This forum, and the thread "automatic redirects are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 12th, 2004, 15:52
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
automatic redirects

is there anyway to do an automatic redirect with a target?

for example, to break out frames automatically using _top, without the user clicking a link?

  #2 (permalink)  
Old Sep 13th, 2004, 08:33
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
No sorry, not with ASP.

You can do it in javascript instead?
  #3 (permalink)  
Old Sep 13th, 2004, 09:02
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Put the following script in the head of your page.
Code: Select all
<script>
if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}
</script>
That should work fine for you.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Closed Thread

Tags
automatic, redirects

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Scheduling Jackus PHP Forum 4 Apr 5th, 2008 01:59
[SOLVED] Htaccess redirects Blake121 PHP Forum 3 Dec 6th, 2007 21:12
Pointer domains and redirects Preston Hosting & Domains 7 Oct 11th, 2007 06:47
Automatic calculations josephman1988 JavaScript Forum 7 Dec 22nd, 2006 17:44


All times are GMT. The time now is 15:40.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43