I have a web app in yaws. A part the code is supposed to randomly generate a temp string using the following code.<br><br>genname(0, L) -> L;<br>genname(N, L) -><br> R = random:uniform(123),<br> case isalphanum(R) of<br>
true -> genname(N-1, [R|L]);<br> false -> genname(N, L)<br>end.<br><br>Each time I call genname(8,[]), I want to generate a different string. However because of the caching behavior of yaws ( I think ), each time I call genname(8,[]), it always returns the same string. Is there a way I can change this. <br>
<br>Any help would be appreciated<br>Thanks in advance<br>Salonee.<br>