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

  • how to link google plus and facebook: Hello there! Do you use Twitter? I’d like to follow you if that would be...
  • Sohan: I am using node-js http server. I created http request to hit the server and log the message. In that case...
  • Jeff Fulmer: I don’t know what “simple http server” means. If you’re using apache out of the...
  • Sohan: MY server is simple http server. Can you tell me what thresol paramter or property is used in siegerc file.
  • Jeff Fulmer: Ninety-five percent of the time, this error occurs because you’ve configured more simulated users...