Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - asp question.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

asp question.

 Post Reply Post Reply
Author
Digifrenz View Drop Down
Newbie
Newbie


Joined: 14 May 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digifrenz Quote  Post ReplyReply Direct Link To This Post Topic: asp question.
    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)

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2003 at 11:52am

why not just stick an html form in?

form action="forum/login_user.asp"

Back to Top
Digifrenz View Drop Down
Newbie
Newbie


Joined: 14 May 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digifrenz Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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>

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.