[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: storing password for login?



Hi Paul.

This mail is----------------------------------------------
Mr./Ms. Paul Csanyi <csanyipal@xxxxxxxxx> ( Quote Paul )'s
MsgID   : [emacs-w3m : No.10249]
Subject : [emacs-w3m:10249] storing password for login?
Date    : [Fri, 20 Jun 2008 19:12:53 +0200]
-------------------------------------------reply mail ----

Paul> Is there a way how to store password for a login with w3m?

Paul> Any advices will be appreciated!

Not support page userid/password store function.
But, support cookie feature(Experimental).

(setq w3m-use-cookies t) ; basic
;(setq w3m-cookie-accept-bad-cookies t) ; advance

and note, emacs-w3m needs w3m are supported cookie feature.

ex.
$ w3m -version
w3m version w3m/0.5.1, options
lang=en,m17n,image,color,ansi-color,mouse,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,alarm,mark
                                               ^^^^^^
# I append below setting
# if no work cookie only w3m-use-cookie, try is
==============
;; append cookie option
(when w3m-use-cookies
  (setq w3m-command-arguments (append '("-cookie") w3m-command-arguments)))

;; store cookie when exit
(add-hook 'kill-emacs-hook
	  '(lambda ()
	     (when w3m-use-cookies
	       (w3m-cookie-shutdown))))
==============

Regert.
CHO

--
 Tsuyoshi CHO
    mailto:Tsuyoshi.CHO@xxxxxxxxx