473,327 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

page1 page2 ????

2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2 somehow
update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>" run from
page 2 or perhaps something via jscript?

Thanks for any ideas

Jul 19 '05 #1
5 1770
You'd need Javascript for that.... (look up the Javascript "Window.Opener"
method)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"yabba" <RE*********************@hotmail.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2 somehow update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>" run from page 2 or perhaps something via jscript?

Thanks for any ideas

Jul 19 '05 #2
On Thu, 02 Sep 2004 07:46:10 -0700,
RE*********************@hotmail.com (yabba) wrote:
2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2 somehow
update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>" run from
page 2 or perhaps something via jscript?


Not in ASP as such. ASP.NET should be able to do this, and you could
possibly do this with client side code.

Jeff
Jul 19 '05 #3

Sure you can

Try to access "referer" HTTP filed.

Every HTTP requests that are created via
a link in a page normally contains a "referer",
in ASP you must use the Request object :

Request.ServerVariables("HTTP_REFERER")

Try this link for more info :
http://msdn.microsoft.com/library/en...om_reqocsv.asp

Have a nice day

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

"yabba" <RE*********************@hotmail.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2 somehow update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>" run from page 2 or perhaps something via jscript?

Thanks for any ideas

Jul 19 '05 #4
Thats not gonna work..........

The OP asked about _windows_ not pages ;o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Maxime Ducharme" <md*******@cybergeneration.com> wrote in message
news:T9LZc.87224$X12.63885@edtnps84...

Sure you can

Try to access "referer" HTTP filed.

Every HTTP requests that are created via
a link in a page normally contains a "referer",
in ASP you must use the Request object :

Request.ServerVariables("HTTP_REFERER")

Try this link for more info :
http://msdn.microsoft.com/library/en...om_reqocsv.asp

Have a nice day

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

"yabba" <RE*********************@hotmail.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2 somehow
update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>"

run from
page 2 or perhaps something via jscript?

Thanks for any ideas


Jul 19 '05 #5
On Thu, 02 Sep 2004 20:13:39 GMT, "Maxime Ducharme"
<md*******@cybergeneration.com> wrote:

Try to access "referer" HTTP filed.

Every HTTP requests that are created via
a link in a page normally contains a "referer",
in ASP you must use the Request object :

Request.ServerVariables("HTTP_REFERER")

Try this link for more info :
http://msdn.microsoft.com/library/en...om_reqocsv.asp
If the OP really meant a new page instead of a window, you can perhaps
get this, but with "parents" as he describes it's opening a new
window. And you still can't update the referring page based on data
in the second page in ASP.

Jeff

Have a nice day

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

"yabba" <RE*********************@hotmail.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
2 asp pages

From page1 I open a new window... page2.

Does page2 know the parent page/wsindow and more inportantly can page2

somehow
update the parent page?

Something in the form of "<a href='page1.asp?update=true'>Update</a>" run

from
page 2 or perhaps something via jscript?

Thanks for any ideas


Jul 19 '05 #6

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

Similar topics

9
by: NotGiven | last post by:
I have a web page where certain pages have to be opened in a certain order and should only be available when the user openes them in HTTPS. They are all forms and the form action sends you to the...
10
by: Manny | last post by:
I have a web form "Page1.asp" and it reads data from a database, does some calculations, and displays the records in pages. Works fine. I have a button that displays on the page, defined as...
2
by: P. Prosper | last post by:
Hello all I have a small webform application with three WebForms that use session variables to maintain session data (user name) When I transfer to page 2 from page1 session state is...
3
by: Agnes | last post by:
In design mode, i didn't see my tab page1 & page2, however, in view code, I see all my textbox object and tab page 1& page2, What's going on ??? I design my form again and again ???? Please help
1
by: siomay87 | last post by:
please help i have a problem in the ms access reporting, my report have: page header, detail, page footer and report footer In listing "detail section", the number of line is depend on the data...
0
by: viral123 | last post by:
Hi I am using asp.net application on server side. I have two web forms as page1.aspx and page2.aspx how can i make change in page2.aspx Lable by clicking on page1.aspx form button. I really...
7
by: learning | last post by:
Hi! Here's my situation: I created a temporary table TEMP1 in PAGE1.PHP and inserted a few rows. Before I left PAGE1.PHP i tried "SELECT * FROM TEMP1" and echoed the rows and surely there they...
1
jhardman
by: jhardman | last post by:
I'm working with my first real xbap project, and I have run into a real wall. Although my project runs just fine when debugging and I get no error while building, immediately as the publish finishes...
1
by: chuuburg | last post by:
Hi, can anyone help me with this. I have 2 pages, Page 1 is the main page while Page 2 is a flash page. When i close Page 2, I would like page 1 to be refreshed/re-retrieve from database because i...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.