HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Session State
Author: IT Jock
Date: 04/22/2003 17:23
> Most probably, a session cookie stored somewhere 
> in the C:Documents and Settings<your login>Cookies 
> folder or C:WinntCookies)
> You can try to copy/paste this cookie (.txt file) in the 
> httrack project folder (such as C:My Web SitesMy site). 
> If it does not work, you will have to play with the 'Add 
> URL' / 'Capture URL' feature, which is a bit hard to 
> (but it is really powerful in many cases)

Placing the cookie in the project folder did not work.  
The site does not generate cookies related to the links I 
want to download.  To be sure, I deleted all cookies from 
my cookies folder and I was still able to access the links 
without receiving the "timed out" / "login" screen.  I 
then checked the cookies folder; no cookies were present.  
As a final test, I accessed the homepage of the site, 
which generated the cookie. 

The Capture URL function also failed to capture the 
pages.  Specifically, after loading the proxy settings, 
when I clicked on a link, it hung for about 15 minutes 
(before I cancelled it).

I DID notice that, while navigating to the page that 
contains the links that I would like to download, a JSP 
page loads quickly before I am redirected to the site 
containing the target content.  I was able to stop the 
page from processing so that I could view the HTML 
source.  Apparently, the login creds are being passed from 
this page prior to accessing the page with the target 
content.  The source is as follows:

    <link rel="stylesheet" type="text/css" 

    <form name='default_form' method='post' TARGET='' 
    <input type ='hidden' name ='NEXT_PAGE' value 
    <input type='hidden' name='WORKFLOW_ID' value='11'>
    <input type='hidden' name='VIEWER_OVERRIDE' value='Y'>
    <input type = 'hidden' name ='SAVE' value='false'>
    <input type='hidden' name='TAG_ACTION' value='LOGIN'> 
    <input type='hidden' name='PAGE' value='LOGIN'> 
    <input type='hidden' name='SHORT_NAME' value='S1'>
    <input type='hidden' name='USER_ID' 
    <input type='hidden' name='PASSWORD' value='password'>

    <script language='JavaScript' type='text/javascript'>




Can I use WinHTTrack for this job?  

Is there a way to automate the process of submitting this 
form through WinHTTrack?


Reply Create subthread

All articles

Subject Author Date
Session State

04/21/2003 23:18
Re: Session State

04/21/2003 23:23
Re: Session State

04/22/2003 17:23
Re: Session State

04/22/2003 17:29


Created with FORUM 2.0.11