Hi<br><br>I am using the random module to generate a session tracker. I use this code to generate a random number "random.random() * 10000000000000000" The session is stored in a mysql database under the field session_id. The problem is when I try to submit the random number into my database I get this error
<span style="font-weight: bold;"><br><br></span><strong>IntegrityError</strong>: (1062, "Duplicate entry '2147483647' for key 1")
<br><tt><small> </small> </tt>args =
(1062, "Duplicate entry '2147483647' for key 1")<br><br><br>With the same number every time. The number being 2147483647. Does eneyone know what the problem is.<br>