For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > December 2005 > Help using LWP::UserAgent and HTTP::Request::Common to login









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help using LWP::UserAgent and HTTP::Request::Common to login
zmike

2005-12-22, 5:26 pm

I have a problem that is making me rip my hair out. I'm trying to create a website that makes an enhanced version of the University of Florida's online schedule. Their system is very old and primative. I am using infomation provided through their system to cross reference with my databases to offer things like professor ratings.

Their system does not use cookies and is based on passing a session key "MDASSTTE" from page to page. It uses the IP address, referer tag in the header for security and to know what page you intend to visit when you type your username and password in.

"MDASTRAN" is the variable that defines the page. I have no problem getting to "rss-regsp" with the script I created, but IT WILL NOT WORK WITH OTHER PAGES and I cannot understand why. I have attempted emulating the header so it is the same as internet explorer's or firefox's with no luck. It boggles my mind why it only works with that page. I'm trying to get to "MDASTRAN=RSI-SSCHED and "MDASTRAN=RSI-GRADES"

I am offering cash to anyone who can help me solve this. Attached is the test script I made.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com