I'm looking for a way to allow the user to login via a web page and then grab the session cookie set by the server. I want to use this to make further queries to the same server using curl. I discovered the MoinMoin bundle does something like this by reading the browser cookie file, but the cookie I need is a session cookie so it does not get written to the file.
More generally, is there any way to get a list of HTML output windows and query their properties, e.g. current URL, etc?
Thanks!
John DeSoi, Ph.D.
On 19 Aug 2010, at 04:33, John DeSoi wrote:
[...] More generally, is there any way to get a list of HTML output windows and query their properties, e.g. current URL, etc?
There is not, no.
I don’t know if it is too complex to simply proxy the user’s session. You can run shell commands from JavaScript, when that JavaScript is part of the HTML output of a command.