Generating unique ids in Mnesia

Hakan Mattsson <>
Thu Aug 18 17:16:40 CEST 2005

On Thu, 18 Aug 2005, Joel Reymont wrote:

JR> Only if I can convert it to a number. Think generating session ids for a
JR> browser.

If you want to generate a unique number, you can use
mnesia:dirty_update_counter/3 in order to obtain a
persistent counter.


More information about the erlang-questions mailing list