| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Frames, targets, and Response.Redirect |
From: |
Jakob |
Date: |
9/13/2000 12:08:23 PM |
IP: |
207.79.36.2 |
Actually, response.redirect doesnt support frames. I find this to be very, very irritating. In addition, there is a method to add a header field to a page so that it always shows up in a specific frame - however, IE doesnt support this.
im making assumptions here: that youre opening up a login box in the left frame (say, login.html), then sending the info from Login.html to an asp page to check user/pass (say, processlogin.asp) and you want it to redirect to a page in the right frame.
Since response.redirect doesnt support frames, or target headers, the best way to work around the issue is to process the processlogin.asp page in the frame you want.
in other words, instead of having <form action="processlogin.asp">
then
<% response.redirect("pagetarget.asp") %> in the left frame, have:
<form action="processlogin.asp" target="rightframe">
then
<% response.redirect("pagetarget.asp") %> will be calling the page into the frame you desire.
Hope that helps.
Jakob
Site Architect
RagamuffinPress.com |
Previous Message
|
|

|
|
|
|