Links cookie location

1

1

Where does the Linux command line web browser links store its cookies? I'm writing a program that waits for a cookie from one of my websites to be saved before continuing with its execution. I believe all cookies are deleted when the browser is closed, but my program should still have time to find it (polling continuously) before the user exits. I just need to know where to look.

Mr. Zurg

Posted 2012-09-23T15:46:11.490

Reputation: 115

Answers

1

At least in this edition of links (the source for the links and links2 packages on Debian), links doesn't actually save the cookies anywhere persistent – it simply keeps them in a RAM-backed data structure.

For what it's worth, though, elinks stores cookies on disk – specifically, in ~/.elinks/cookies.

Benjamin Barenblat

Posted 2012-09-23T15:46:11.490

Reputation: 533