In version 0.4 of Woof the expiration date is always sent since a default of 24 hrs is used in the event that the programmer neglects to set the expiration time using the -expires attribute. However if a sssion experation of "when session ends" ( i.e when the browser is closed ) is required there is no means to do this..One reference indicates that not sending expires tag at all will cause the browser to expire the cookie at time of browser closing. As a side note, when deleting cookies you should update your documentation to indicate that in addition to setting the -expires option to 'now' that you also need to set any other option (e.g. -path) to exactly match the cookie you are trying to delete.
Anonymous
Thanks. I'll take a look at fixing this. I could swear I had programmed (or intended to program) the session-end as the default but must have screwed up somewhere.
/Ashok