473,783 Members | 2,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening a New Window with a Redirect?

I want to send people to a new page using a redirect but I want a new
window to open. Is this possible?

I've tried this:

<meta http-equiv="refresh"
content="0;url= http://search.epnet.co m/direct.asp?jn=H BR&db=bch
target=_blank">

but it doesn't open a new browser window. Is there a way to do this?

Thanks,
DL
Jul 20 '05 #1
2 7042
le**********@ho tmail.com (Dena Leiter) wrote:
I want to send people to a new page using a redirect but I want a new
window to open.
Why?
Redirects are better handled by the server and opening new windows is
better handled by the user.
Is this possible?
Only with JavaScript.
I've tried this:

<meta http-equiv="refresh"
content="0;url =http://search.epnet.co m/direct.asp?jn=H BR&db=bch
target=_blank" >
Making things up and hoping that they will work is never very
productive.
but it doesn't open a new browser window. Is there a way to do this?


JavaScript.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #2
Steve Pugh wrote:
le**********@ho tmail.com (Dena Leiter) wrote:

I want to send people to a new page using a redirect but I want a new
window to open.

Why?
Redirects are better handled by the server and opening new windows is
better handled by the user.


And some browsers *prevent* the opening of new windows (Firebird for
example can be configured not to open new windows).
but it doesn't open a new browser window. Is there a way to do this?

JavaScript.


Which can be disabled. And I guess that Firebird also prevents JS from
opening a new window. Which is a Good Thing(TM).

John

--
email: mail(at)johnbok ma.com (or reply) home: http://johnbokma.com/
UI design tips: http://johnbokma.com/websitedesign/ ~ ICQ 218175426

zwemvlies verzoekschrift ontwikkeling op maat

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1544
by: Sushil Prasad | last post by:
hi, I have a web application with a help link. On the click of the help link user see a html page. I do response.redirect to url in my code. The vb.net application that user was using gets overloaded with html page. Is there a way to display this html in a new web page so that user can see both the web application and this html page.
6
1688
by: jonefer | last post by:
I have two versions of a 'Downtime Application that will run in the event that the mainframe goes down 1) SQL Server ASP.NET app (accessed outside the mainframe network) 2) MS Access Version of the same app locally installed (C Drive) Can someone help me with the 'Catch' part of this code in VB.NET? Pseudo code
3
2138
by: Larry Bud | last post by:
Wanting to use a technology I saw for one of our apps. We have several apps that a user logs in at on the same page. The app is determined by a drop down. User credentials are checked, response.redirect to the application. The user ID is stored in a session variable which determines if the user is logged in. When the session var goes blank, the user is redirected to the login page. A header on each page checks this. Now, some...
3
2665
by: Bonzol | last post by:
Vb.Net 2003, 1.1. Web application. Hey there I have this, Response.Redirect("FileFiew.aspx") to go to a new page, but how do I open that page in a new window? So I will have 2 pages open,, the original page, and the page I opened.
4
1445
by: EA | last post by:
The code below successfully open a blank new Window, the OpenWin function is held in a separate file and I use it successfully to open windows elsewhere on my site. However the window is completely blank and "about:blank - Microsoft Internet explorer" appears in it's title bar. The new window corresponds to the sizes I enter in the OpenWin function, so this must be working. What I want is for a PDF file, based on the user's selection...
9
11742
by: anuragsji | last post by:
Hi, I have one combo box and GO button on the click of GO button page submitted and according to selection of one of the option from combo I want to redirect my page to some new asp page but at the same time in new window of browser. I could have achieved this using window.open() of javascript but then it will serve as pop up and clients requirement is that not to show as popup window due to many users blocked popups.
2
8326
by: Oliver Wong | last post by:
I'm trying to have the "submit" button of a form open a new window which loads a PDF, and also to redirect the window containing the submit button to a new location. Here's a small HTML file demonstrating my code: <html> <body> <input type="button" onclick="window.open('http://www.cs.ubc.ca/~lowe/papers/ijcv04.pdf'); window.location = 'http://www.google.ca/';"/> </body>
1
1764
by: coolsidsin | last post by:
I have a apsx form (Form A), which on submiting does a time consuming task. So i want to open a new aspx window (Form B) in which I want do do that time consuming task and show progress to the user and while that task is being completed I want Form A to redirect to Form C. I opened form B in a new javascript window and updated the progress through ajax but Form A doesn't let me redirect to Form C unless Form B's processing is Completed. ...
1
3711
by: abhishekbrave | last post by:
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I tried doing some workaround using window.open() but not getting the calendar in new window. <html> <head> <script language="JavaScript">
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.