Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I am sick at home and I decided to implement the cookie file feature,
as many users requested.
I think the most reasonable solution is to follow Netscape's way of ma=
cookies, in a text file easily manageable.
The format is a tab separated fields description, and here are the det=
I found on http://www.cookiecentral.com/faq/#3.5 :
.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103
From left-to-right, here is what each field represents:
domain - The domain that created AND that can read the variable.
flag - A TRUE/FALSE value indicating if all machines within a given domai=
can access the variable. This value is set automatically by the browser,
depending on the value you set for domain.
path - The path within the domain that the variable is valid for.
secure - A TRUE/FALSE value indicating if a secure connection with the do=
is needed to access the variable.
expiration - The UNIX time that the variable will expire on. UNIX time is=
defined as the number of seconds since Jan 1, 1970 00:00:00 GMT.
name - The name of the variable.
value - The value of the variable.
My idea is to build a class derived from HtCookieMemJar, called HtCook=
which just loads the file into memory; thanks to inheritance, the object
is therefore addressable as a memory jar too (my intentions are to either=
use it directly or through the copy constructor pass it to the one alread=
Please let me know if you are ok with this solution.
Also, if interested, it would be pretty straightforward to implement
the opposite solution, an output cookie (next time).
So ...are you ok with this configuration attribute?
default value: empty
When empty no input operation will be performed.
Ciao and thanks!
Gabriele Bartolini - Web Programmer - ht://Dig & IWA Member - ht://Check
Current Location: Melbourne, Victoria, Australia
bartolini@... | http://www.prato.linux.it/~gbartolini | ICQ#1292=
Please let me know your opinion, guys! :-)
> So ...are you ok with this configuration attribute?
>default value: empty
>When empty no input operation will be performed.
However I have already written the code for ht://Check and it seems to wo=
If you are ok with my changes, let me know and tomorrow I'll commit to ht=
I'll also have to add a new file to Makefile.am (HtCookieInFileJar). Anyt=
I should be aware of?