Re: [AOLSERVER] Generating UUID/GUIDs

2004-03-26 Thread Rob Crittenden
E-tags generated in Apache and Netscape Enterprise Server (and at this point probably SunONE) are based on things like inode #, file size and mtime. rob Dave Bauer wrote: I'd like to try to comform to the WebDAV specification for this, but that is handy to have a simple way to produce a similar

Re: [AOLSERVER] Generating UUID/GUIDs

2004-03-26 Thread Dave Bauer
Rob, That is interesting, thanks for commenting. I know that mod_dav has some C code which seems to produce lock tokens according to that spec. E-tags, I wasn't sure about. They just look like the other UUIDs. I have a different dilemna in that most web sites I work on are dynamically generated

[AOLSERVER] Generating UUID/GUIDs

2004-03-25 Thread Dave Bauer
Has anyone had the need to generate UUID/GUIDs as described here http://hegel.ittc.ukans.edu/topics/internet/internet-drafts/draft-l/draft-leach-uuids-guids-01.txt One option is to use the uuidgen program that is installed on linux at least. I am not sure that would always be available. Are

Re: [AOLSERVER] Generating UUID/GUIDs

2004-03-25 Thread Scott Goodwin
Mac OS X also comes with uuidgen, which probably means the other BSDs do as well. The code seems straightforward enough to turn it into a loadable module. I'm using a simple random sequence of characters as a session id for visitors: set chars

Re: [AOLSERVER] Generating UUID/GUIDs

2004-03-25 Thread Dave Bauer
I'd like to try to comform to the WebDAV specification for this, but that is handy to have a simple way to produce a similar result. That is, one application of this would be to generate valid WebDAV lock tokens. It also seems that HTTP e-tags also use the same type of GUID. Dave Scott Goodwin

Re: [AOLSERVER] Generating UUID/GUIDs

2004-03-25 Thread Dossy
On 2004.03.25, Dave Bauer [EMAIL PROTECTED] wrote: I'd like to try to comform to the WebDAV specification for this, but that is handy to have a simple way to produce a similar result. That is, one application of this would be to generate valid WebDAV lock tokens. It also seems that HTTP e-tags