Without using some new language like Perl, how would one be able to access a web-page, given specific session information?
And also, which C/C++ libraries are good for doing this kind of job?
If this is at all a weird question, I'll explain. I'd like to be able to write a script that parses a remote file for specific tags and information between those tags, but in order to do so I must be logged into an account (or rather, have some kind of connection between me and my personal information).
Let's say that a website has the web page www.mypage.com/index and when you attempt to go to that page without first establishing a session you will get redirected to a page that requests your login information. This means that if I try to access the remote file from a C++ program, I'll most likely parse tags that are not of interest to me. I need to be able to somehow send login information with the location of the file, but I'm uncertain of how to do this.
If this is still confusing, my apologies. Long-story short I'd like to access a file with a generic address and still be able to get my personal data, without manually logging into the site (basically, logging in from the application itself and access the file after, or send session data while accessing the file, or some other better alternative).