> [EMAIL PROTECTED] wrote:
> > 
> > I am running into problems using the -dump and -auth options on Lynx
> > 2.8.2.  I am running on an admittedly ancient platform of SunOS 4.1.4,
> > but I do not think that is the issue.  When I enter, via a Bourne
> > sheel script, the following command at certain hours of the day:
> > 
> >         lynx -dump -auth=myID:myPASSWD -width=111 
>"http://interactive.wsj.com/documents/djbonds.htm"
> > 
> > I get:
> > 
> >         >   The page you requested is available only to subscribers.
[...]

> > In other words, it has ignored the fact that I have passed these
> > identifier data already to their server.
> > 
> > At other times I get a stream of the appropriate data.  Would anyone
> > have any ideas on how I can track this problem down?  I have tried
> > "-trace" but it has not given me any insight. [...]

1. The site also uses cookies - this may be cookie-related.
   If that's the case, and cookies are needed, make sure you use
   appropriate options to allow cookies.
2. There have been changes in Lynx's cookie handling code since
   2.8.2.  You should get the latest code from
   <http://lynx.isc.org/current/>, and see whether you still have
   the same problem.  Note that some lynx.cfg options have changed,
   others added, since 2.8.2 - you should review the differences,
   at least for the cookie-related options.
3. You wrote that you tried "-trace", but have you tried to compare
   the trace output from a session that failed with that from a
   session that succeeded?  That would be the best way to figure
   out what's going on.  (It may still not help much, if it shows
   that the server responds differently to the same input from lynx
   at different times.)
4. The -auth info should only be used if lynx is asked to provide
   it by the server (HTTP 401 status response).  "-trace" will show
   when that happens.  If the server never sends a 401 response,
   (maybe because it uses cookies exclusively and not normal HTTP
   authentication) providing "-auth" would be pointless.
5. Check whether you encounter the same kind of problem interactively,
   without -dump, sometimes.

   Klaus

Reply via email to