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

  • Home
  • SEARCH
  • 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 4061752
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:30:34+00:00 2026-05-20T15:30:34+00:00

I am trying to submit this webform and log into this site: https://www.kalahari.net/profile/pipeline/signin.aspx I

  • 0

I am trying to submit this webform and log into this site:
https://www.kalahari.net/profile/pipeline/signin.aspx

I keep getting the login site’s source code as output when the script is done,so it seems like all is working (no errors) but it’s just not logging in. I can’t find what I am doing wrong.Please help.
I am using Python 3.1.2, I can’t use Mechanize as the code needs to be written in Python 3.x

I think my problem might be the POST url I am posting the login information to, but I cant seem to figure it out, and what it should be.

f=open("page_src.html",'wb') 
cj=cookiejar.CookieJar()

params=urllib.parse.urlencode({'ctl00$ctl00$cplhMain$cplhContent$txtEmail': 'username', 'ctl00$ctl00$cplhMain$cplhContent$txtPassword': 'pass'})

opener = req.build_opener(req.HTTPCookieProcessor(cj))
opener = urllib.request.FancyURLopener()
page = opener.open("https://www.kalahari.net/profile/pipeline/signin.aspx", params)

profilepage = opener.open("https://www.kalahari.net/profile/pipeline/profile.aspx")
source=profilepage.read()

f.write(source)
f.close()
  • 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-20T15:30:35+00:00Added an answer on May 20, 2026 at 3:30 pm

    The site is probably using cookies for the login, so you must too. That means you must save the cookies you get when you log in and send them to the site with each following request.

    Check out http.cookiejar.

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

Sidebar

Related Questions

I'm trying to submit a form using javascript. This is the code I've used
Without getting into the details of why (its for school) I'm trying to use
I am trying to submit an app, and when I spot the .apk it
I am trying to submit a non-ssl wrapped page to an ssl wrapped page,
Im trying to submit a request and it is correctly handled in Chrome. Everything
I am trying to submit a form on checking or unchecking a checkbox using
I'm trying to submit a mac app store and during the testing/submitting step it
I am trying to submit my app to the app store using the application
I'm trying to submit a form using JQuery. My problem comes from the fact
I'm creating a web project for one of my uni modules using Visual studio

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.