-
To Devin Knutson (redirect problem)
in the main page
<frameset cols="*,760,*" frameborder="0" framespacing="0" border="0">
<frameset rows="*,430,*" frameborder="0" framespacing="0" border="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
</frameset>
<frameset rows="*,410,*" frameborder="0" framespacing="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
-----------------------------------
<frameset cols="193,*" frameborder="0" framespacing="0" border="0">
<frame src="menu/menu.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
<frameset rows="60,*" frameborder="0" framespacing="0">
<frame src="superior/superior.htm" scrolling="no" marginwidth="0"
marginheight="0" border="0">
<frame src="portada/portada.htm" scrolling="auto" marginwidth="0"
marginheight="0" name="principal">
</frameset>
</frameset>
-----------------------------------
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0"
border="0">
</frameset>
<frameset rows="*,430,*" frameborder="0" framespacing="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0">
<frame src="void.htm" scrolling="no" marginwidth="0" marginheight="0">
</frameset>
</frameset>
Portada2 has a button with href that shows the pop up (login.asp)
In login.asp (the popup)
form tag removed
<!--- FORM ACTION="CheckLogin.asp<% If Request.QueryString ("SecondTry")=
"True"
Then
Response.Write "?SecondTry=True"
End If %>" METHOD="POST" name = "FRM_CheckLogin">
<TABLE border="1" align="center" bordercolor="#000000" cellspacing="2">
<TR align="center" valign="middle">
<TD bgcolor="e8d186" bordercolor="993366" class="titulotabla">UserID:</TD>
<TD bordercolor="993366" class="normal">
<INPUT TYPE="Text" NAME="txt_UserID"
<% If Request.QueryString ("SecondTry") = "True" then %>
VALUE="<%Response.Write Session("Usuario") %>"
<% End If %>
SIZE="20" maxlength=20">
</TD>
</TR>
<TR align="center" valign="middle">
<TD bgcolor="e8d186" bordercolor="993366" class="titulotabla">Password:</TD>
<TD bordercolor="993366" class="normal">
<INPUT TYPE="Password" NAME="txt_Password" size=20 maxlength=20>
</TD>
</TR>
<TR colspan="2" align="center" valign="middle">
<td colspan="2">
<INPUT TYPE="image" src="online/imagenes/login.gif" VALUE="Login"
border="0">
<a href="login.asp"><img src="online/imagenes/restablecer.gif" border="0"></a>
</td>
</TR>
</TABLE>
</form>
<!--- --->
In checklogin.asp if the data is ok....
Session ("Usuario") = rsUsers("usu_UserID")
Session("blnValidUser") = "True"
response.write "
script tag removed
<!--- SCRIPT LANGUAGE='JavaScript'>"
response.write "window.opener._top.location.replace('online/online.htm');"
response.write "self.close();"
response.write "</script>
<!--- --->
i want online/online.htm to load on the main page not in one frame, i think
the name it's _top but when i click login nothing happens it's like the computer
keep thinking.... and then it shows error 500, doesn't close the popup and
doesn't go to any page....
"Devin Knutson" <devin@_NOSPAM_webnw.com> wrote:
>"Daniel" <----@----.---> wrote in message news:3b3b2944$1@news.devx.com...
>>
>> please don't kill me, but i try changing MyFrame with principal, (the
name
>> of the frame) and it sends an page not found on the popup, so i have a
>question
>> where it knows what page should show? the argument in replace () it's
the
>> frame or is the page that will appear in the frame?
>> anyway i try both but it seems to be omething worng because the error
shows
>> in the popup and the popup doesn't close. why?
>
>The name of the frame should be where "MyFrame" is. The argument to
>replace() is the relative path to the page you want to load in the "MyFrame"
>frame.
>
>If you are getting a 500 error, that's not a Page Not Found (which is 404).
>I would think there is probably something incorrect in either the JavaScript
>or the ASP on the page.
>
>If you can, post the relevant parts of the code here, and I'll go through
it.
>
>--
> Devin
> http://www.mp3.com/DevinK
> _______________________________________________________
> Look on the bright side... After the next four years,
> we'll probably never have to deal with another Republican
> President in our lifetime.
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks