Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7420325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:13:07+00:00 2026-05-29T08:13:07+00:00

We have a system that allows our parents (I work for a school district)

  • 0

We have a system that allows our parents (I work for a school district) to access district and class resources. It is a third-party product, which is the source of the problem. When a parent logs in, they are actually logging in to a site that I have built. I have to do some checks on their account to see whether they are authorized to pass on to the third-party site. If they are authorized, I simply do an automated form submit with the appropriate login information for the parent.

The problem I’m having is that our vendor doesn’t regularly load new data. So, if a student is newly registered at one of our schools, the parent can login and authorize on my side but when I send them to the third-party site, they get an error message indicating no students. I have no way of querying the vendor to see if they will allow the parent in.

What I need to do is run the forms submit to the third party in a “testing” mode that will capture the resulting page in a buffer so I can test the buffer for the error message. If the error message exists, I’ll keep them on my side and present them with basic resources. Otherwise, if the error message doesn’t exist, I need to do the actual form submit and allow the browser to re-direct. Possibly an AJAX solution? The following is the existing code:

ASPX page (yes, I have the appropriate headers, etc., this is the relevant code):

<form method="post" name="loginform" action="http://[destination page]" target="_top">
    <input type="hidden" name="username" value="<% =SessionHandler.UserEmail %>" />
    <input type="hidden" name="password" value="<% =SessionHandler.UserPassword %>" />
    <%--<input type="submit" name="Submit" value="Login" />--%>
</form>

Javascript (that executes the form submit):

function parentFormSubmit() {
    document.loginform.submit();
}

VB Codebehind:

Protected Sub Page_LoadComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadComplete
    Session.Abandon()
    FormsAuthentication.SignOut()
    Page.ClientScript.RegisterStartupScript(Me.[GetType](), "alert", "parentFormSubmit();", True)
End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:13:08+00:00Added an answer on May 29, 2026 at 8:13 am

    If I understood correctly the way you can accomplish this is by doing a manual HTTPPost by either using a Socket or the WebRequest class.

    Using the WebRequest Class

    Sockets

    I would use the WebRequest class because it is easier and faster and you could find tons of samples online.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an app that allows users to send e-mails from our system. It
We have a commenting system built into our engine that allows programmers to put
Our product contains a task-manager system that allows applications to run code in a
Imagine for a moment that I have a system that allows users to take
I have a system that stores vectors and allows a user to find the
I'm looking for a voting system that we can implement at work amongst our
I currently have an iOS app that allows people to submit content to our
We have created a system that allows embedding an image in an outgoing email.
I've been tasked to build a system that allows someone in our company to
We have system here that uses Java JNI to call a function in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.