Print Page | Close Window

asp question.

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3092
Printed Date: 01 April 2026 at 7:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: asp question.
Posted By: Digifrenz
Subject: asp question.
Date Posted: 28 May 2003 at 10:40am

hello,

i have installed the forum right this time!

the only problem is...

Can you help me with login_user.asp,

I want to get the form! to refresh the entire web-page!

(i got it in a frame and some other frames need to refresh due the cookie)




Replies:
Posted By: Gullanian
Date Posted: 28 May 2003 at 11:52am

why not just stick an html form in?

form action="forum/login_user.asp"



Posted By: Digifrenz
Date Posted: 28 May 2003 at 12:49pm

that not what i want,

<form method="post" target="main" name="frmLogin" action="login_user.asp?FID=<% = intForumID %><% If Request.QueryString("M") = "Unsubscribe" Then Response.Write("&TID=" & Request.QueryString("TID") & "&M=Unsubscribe") %>" onSubmit="return CheckForm(); onReset="return confirm('<% = strResetFormConfirm %>');">
    <table width="257" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="<% = strTableBorderColour %>" height="30">
     <tr>
      <td height="2" width="349" align="center">
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td bgcolor="<% = strTableColour %>" background="<% = strTableBgImage %>">
              <table width="105%" border="0" cellspacing="0" cellpadding="2">
                <tr>
                  <td align="right" width="24%"><span class="text">
                    <% = strTxtUsername %>
                    : </span>&nbsp;</td>
                  <td width="76%"> <input type="text" name="name" size="15" maxlength="15" value="<% = strUsername %>" />
                  </td>
                </tr>
                <tr>
                  <td align="right" width="24%"><span class="text">
                    <% = strTxtPassword %>
                    : </span>&nbsp; </td>
                  <td width="76%"> <input type="password" name="password" size="15" maxlength="15" />
                  </td>
                </tr>
                <tr>
                  <td align="right" width="24%">&nbsp;</td>
                  <td width="76%" class="text"><span class="text">
                    <input type="checkbox" name="AutoLogin" value="True" checked />
                    <% = strTxtAutoLogin %>
                    </span></td>
                </tr>
                <tr>
                  <td align="right" width="24%">&nbsp;</td>
                  <td width="76%"> <input type="hidden" name="sessionID" value="<% = Session.SessionID %>" />
                    <input type="submit" name="Submit" value="<% = strTxtLoginUser %>" />
                  </td>
                </tr>
              </table></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>

now if you click Login in this form, only _self will refresh, But other frames should also refresh!



Posted By: michael
Date Posted: 28 May 2003 at 1:19pm

This way you can reload two frames, add to however many frames you have
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function loadFrames(frame1,page1,frame2,page2) {
eval("parent."+frame1+".location='"+page1+"'");
eval("parent."+frame2+".location='"+page2+"'");
}
</script>
</head>
<BODY>
<a href="javascript:loadFrames('Frame_A', 'page-1.html', 'Frame_B', 'page-2.html')">Click me</a>
</body>



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net