On Sat, Feb 16, 2002 at 12:44:56PM +0900, Henry Nelson wrote: > Thanks. Sorry that I'm c illiterate, but could you explain in what > situation the code will kick in. Is it only for when the -source option > is set, or does it come on whenever cookies are on? (The idea of > "semi-persistent session cookies" sort of sends shivers down my spine.)
The code exhibited adds a command-line option -session-cookie-timeout=NUM which makes your session cookies persist for NUM seconds. If you don't supply the option then the behaviour doesn't change from what you expect. If you supply the option in lynx.cfg then it is always turned on. A better implementation might turn it on only when the -source (or -dump) option is used, or give you another lynx.cfg parameter which so restricts it. (However, it should still always be turned on if the command-line flag is explicitly supplied.) There are alternative schemes which might be useful (such as storing the session cookies in a different file) but they may be significantly harder to implement. imc ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
