Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [PROGRAMMAZIONE] Guid
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[PROGRAMMAZIONE] Guid

Quante probabilità ci sono che un GUID generato da Asp.Net (o con qualsiasi altro metodo) possa risultare duplicato? C'è qualche modo per evitare che questo accada??

Grazie!

P.S.: vorrei evitare di finire il mio portale e di vederlo andare in vacca per questo problema! :D

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

11-04-2004 20:50
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.86 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:42:50 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Off-Topic:
cose è un GUID?

__________________
http://www.twitter.com/0m4r

12-04-2004 15:31
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

E' una stringa che può essere usata come chiave ad esempio di un database e viene generata in base a vari parametri come giorno/ora/ip dell'utente... ecc, ecc.

Il mio dubbio è solo se possa capitare di ottenere due GUID diversi in momenti diversi... ma anche su Google non riesco a trovare molto! :?

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

12-04-2004 16:53
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lughes
libero Pensatore

User info:
Registered: Feb 2003
Posts: 478 (0.06 al dì)
Location: Milano - Prato Sesia
Corso: TiCOM
Anno:
Time Online: 11 Days, 2:44:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Teoricamente la possibilità che sia duplicato è possibile, infatti tutti i numeri o le stringhe generate a caso utilizzano un algoritmo preciso. La bontà di un algoritmo di questo tipo si piò giudicare in base alla probababilità molto bassa che questo possa accadere...
Per quantificarlo però credo sia molto difficile se non si riesce a trovare qualcosa nella documentazione

__________________
...più beviamo più vinciamo e tanti gol possiamo far, e la Pratese stravincerà, noi che siamo gli invincibili e per questo siamo qui, per poter dire RITIRATEVI!!!

13-04-2004 19:25
Click Here to See the Profile for lughes Click here to Send lughes a Private Message Find more posts by lughes Add lughes to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie della risposta! Sto scrivendo una piccola routine che controlli ogni GUID che viene generato per vedere se è un duplicato di uno già esistente! E' un pò un casino cercare in tutti i file xml per tutte le cartelle del portale, ma voglio stare sicuro! :)

Ancora grazie!

:ciao:

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

13-04-2004 20:28
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:52.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.117 seconds (30.39% PHP - 69.61% MySQL) con 24 query.