Gilles,

         The session variable is stored in an encrypted cookie on the users 
machine.  When the user exits the browser, the cookie disappears.  I've 
tried the URL method but that hasn't worked.  Gabriele just uploaded the 
fix for his cookie code so I will try that out as soon as I can re-compile 
and test.  Thanks,

At 04:51 PM 12/18/01, Gilles Detillieux wrote:
>According to Greg Lepore:
> >       In attempting to index a Cold Fusion generated site I have run 
> into the
> > following problem:
> >       The site is entered through a basic user name and password login 
> form (in
> > Cold Fusion), which then sets a server session variable to true, 
> subsequent
> > pages ask for the session variable and, if it is false, sends the user 
> back
> > to the login page.    I re-coded the login page temporarily to set the
> > variable to true and automatically send me to the next page. But when it
> > attempts to get to the next level after that, I get sent back to the login
> > page. Htdig appears not to be able to maintain the session variable from
> > page to page.  As far as I know, the session variable is held on the
> > server, the setup works fine through the browser, but htdig is getting 
> sent
> > back to the login page.  Does this make any sense?
> >       The question is, can Htdig keep server session variables alive 
> throughout
> > the indexing?  I tried using the authorization config but it only works on
> > http pop up user name and pasword boxes (I think).  Any ideas?
> >       HTDIG 3.2 (12/9 build)
> >       Redhat 7.2
> >       Dual 1GHz Pentium, 1GB RAM
>
>Interesting problem.  All htdig handles for username/password is HTTP
>basic authorization, so other schemes won't work.  Where is this
>session "variable" maintained?  On the server, in the client's cookies,
>or in the URL?  If it's in the URL, there may be a trick you can use
>with the new url_rewrite_rules attribute in 3.1.6 or 3.2.0b4 snapshots
>to manipulate the URLs as you want.  If the variable is anywhere else,
>you're probably out of luck.
>
>--
>Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
>Spinal Cord Research 
>Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
>Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
>Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

Gregory Lepore
Webmaster, State of Maryland
Supervisor, Archives of Maryland Online
410-260-6425


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to