up arrow Siege and the Single Cookie

An emailer wondered if siege could be configured to refuse cookies. I had a vague recollection on the matter. My brain cells were all, “Yeah, sure, you can disable cookies.”

The best place to look for more esoteric features is inside $HOME/.siegerc If you don’t have one, you can generate a new one with this command: siege.config That command will place a new one inside your home directory. ‘siege.config’ is designed to build a resource file which is compatible with your version of the program.

I checked the latest version of that file and I found nothing to disable cookies. Really? That seems like a no-brainer. Why wouldn’t we allow users to disable that? “Sorry,” I replied. “Siege can’t disable cookies.”

Yet my own response was bothersome. I was certain you could turn that off so I checked the code with ‘egrep cooki *.c’ Sure enough, siege parses siegerc for ‘cookie’ which accepts true or false. The latter disables cookie support.

Documentation for this feature has been added to siege-3.0.1-beta4. The feature itself is available in just about every contemporary version of siege that’s floating around the Internets. Just add ‘cookies = false’ to your siegerc file to disable their support.

Posted in Applications, Siege | 2 Comments

2 Responses to “Siege and the Single Cookie”

  1. rares says:

    hi,
    i m trying to install the latest siege 3.0.0 and after running this install(http://wordpressapi.com/2010/06/08/how-to-install-siege-linux-box/)

    i don’t get anything after typing at the last step siege.
    i get bash: siege: command not found

    any hints?
    cheers
    rares

    • Jeff Fulmer says:

      I’ve intentionally ignored this comment for a couple reasons:

      1. It has nothing to do with Siege and the Single Cookie
      2. If you don’t know what’s wrong, you’ll probably just hurt yourself or others with this software….

Leave a Reply




Recent Comments

  • roshni: Hi jeff, I need your help regarding running urls in a file containing post directives. Could you please send...
  • Alle: In seige, what does the pink result mean?
  • Windows User: Nice collection of Perl modules. Thanks for sharing.
  • Jeff Fulmer: No idea. What do you see in the webserver’s logs?
  • roro: Hi Jeff, I’m running siege in cygwin 32 bit, with SSL. When hitting an https server with this call,...