problem/help with using LWP

From: Richard Bell (rbell01824_at_earthlink.net)
Date: 03/28/04


Date: Sat, 27 Mar 2004 23:43:29 GMT

I'm trying to use LWP to scrape some data from a web site fronting a
database of some sort (don't really know/care what). To use the site
from a browser you enter (at some point you get a session cookie, not
really sure when) and proceed to navigate through many pages (they are
all frames with the top part having various navigation widgets and the
bottom part having both visible and hidden forms - the hidden forms
are used to hold data being entered through the process). As each
page is navigated, the site sends various cookies (many) and refreshes
the hidden form. When all is said and done a form is POSTed to
retrieve the data (data is actually a .csv file, but that doesn't
matter). The navigation to the final POST always creates the same
hidden form data. I've used wsp and template.pl to figure out what is
happening and build a perl app that works, at least until the session
cookie expires!! That's the rub.

How do I find out which of the MANY cookies is the ONE that I must
refresh?

How do I refresh it?

Thanks for any help.

R



Relevant Pages

  • Re: Navigation hyperlinks...
    ... use JavaScript for this with a cookie. ... Conversation: Navigation hyperlinks... ... I want the link to my Login page to be disabled on my home page (and few ... > Conversation: Navigation hyperlinks... ...
    (microsoft.public.frontpage.programming)
  • Re: Passing Variables between Data Access Pages
    ... Use a cookie to hold the data during the navigation. ... > don't think the respondents understand what a Data Access page is. ... > instance I have a Login html page, I validate the User ID and Password ...
    (microsoft.public.access.modulesdaovba)
  • ASP Session Vars to ASP.Net
    ... I can't have a cookie. ... another solution suggests using hidden form fields only helps me to know ... ASP to ASP.Net ... This is an intranet so there is little security, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: browser differences, IE, FF, and Opera
    ... navigation and another browser honors the last navigation. ... (Kind of like sending a form submission to two different scripts -- ... successfully will erase your browsing history for that tab/window. ... Then on logout you clear the cookie and do ...
    (comp.lang.javascript)
  • Re: COOKIE EXPIRATION TIME
    ... You could use a javascript to enter the client's time into a hidden form ... the client machine. ... > According to the documentation cookie expiration time is set via ...
    (microsoft.public.dotnet.framework.aspnet)