GUID values repeating
am 26.03.2007 19:39:39 von stjulian
IN IIS 6.0, classic .asp
I have been creating new GUID's through this block of code
set typ = server.createobject("Scriptlet.TypeLib")
guid = TRIM(MID(cstr(typ.GUID),2,36))
Response.Cookies("guid") = guid
Response.Cookies("guid").path = "/"
Response.Cookies("guid").expires = now() + 1
set typ = nothing
Lateley, some visitors to the website are actually receiving the same guid.
How is this possible? Is there a process that may be used to reset the guid
delevery sysem?
Julian
Re: GUID values repeating
am 26.03.2007 20:55:56 von Jon Paal
how do you know they have the same guid ?
"stjulian" wrote in message news:ek7X828bHHA.4176@TK2MSFTNGP02.phx.gbl...
> IN IIS 6.0, classic .asp
>
> I have been creating new GUID's through this block of code
>
> set typ = server.createobject("Scriptlet.TypeLib")
> guid = TRIM(MID(cstr(typ.GUID),2,36))
> Response.Cookies("guid") = guid
> Response.Cookies("guid").path = "/"
> Response.Cookies("guid").expires = now() + 1
> set typ = nothing
>
> Lateley, some visitors to the website are actually receiving the same guid.
>
> How is this possible? Is there a process that may be used to reset the guid
> delevery sysem?
>
>
> Julian
>
>
>
Re: GUID values repeating
am 27.03.2007 14:54:55 von stjulian
They are entered into a database and I have seen repeats from different IP
addresses.
Julian
"Jon Paal [MSMD]" wrote in message
news:130g5psfoch0p5a@corp.supernews.com...
> how do you know they have the same guid ?
>
>
>
> "stjulian" wrote in message
> news:ek7X828bHHA.4176@TK2MSFTNGP02.phx.gbl...
>> IN IIS 6.0, classic .asp
>>
>> I have been creating new GUID's through this block of code
>>
>> set typ = server.createobject("Scriptlet.TypeLib")
>> guid = TRIM(MID(cstr(typ.GUID),2,36))
>> Response.Cookies("guid") = guid
>> Response.Cookies("guid").path = "/"
>> Response.Cookies("guid").expires = now() + 1
>> set typ = nothing
>>
>> Lateley, some visitors to the website are actually receiving the same
>> guid.
>>
>> How is this possible? Is there a process that may be used to reset the
>> guid
>> delevery sysem?
>>
>>
>> Julian
>>
>>
>>
>
>
Re: GUID values repeating
am 27.03.2007 17:40:37 von Jon Paal
GUID's are unique so the problem may be how/when the information is being saved to the database.
"stjulian" wrote in message news:%23MjGg8GcHHA.1244@TK2MSFTNGP04.phx.gbl...
> They are entered into a database and I have seen repeats from different IP addresses.
>
> Julian
>
> "Jon Paal [MSMD]" wrote in message news:130g5psfoch0p5a@corp.supernews.com...
>> how do you know they have the same guid ?
>>
>>
>>
>> "stjulian" wrote in message news:ek7X828bHHA.4176@TK2MSFTNGP02.phx.gbl...
>>> IN IIS 6.0, classic .asp
>>>
>>> I have been creating new GUID's through this block of code
>>>
>>> set typ = server.createobject("Scriptlet.TypeLib")
>>> guid = TRIM(MID(cstr(typ.GUID),2,36))
>>> Response.Cookies("guid") = guid
>>> Response.Cookies("guid").path = "/"
>>> Response.Cookies("guid").expires = now() + 1
>>> set typ = nothing
>>>
>>> Lateley, some visitors to the website are actually receiving the same guid.
>>>
>>> How is this possible? Is there a process that may be used to reset the guid
>>> delevery sysem?
>>>
>>>
>>> Julian
>>>
>>>
>>>
>>
>>
>
>
Re: GUID values repeating
am 28.03.2007 01:34:22 von Tim Williams
....and how do you know they're not the same user ?
IP address may not be definitive.
--
Tim Williams
Palo Alto, CA
"Jon Paal [MSMD]" wrote in message news:130g5psfoch0p5a@corp.supernews.com...
> how do you know they have the same guid ?
>
>
>
> "stjulian" wrote in message news:ek7X828bHHA.4176@TK2MSFTNGP02.phx.gbl...
> > IN IIS 6.0, classic .asp
> >
> > I have been creating new GUID's through this block of code
> >
> > set typ = server.createobject("Scriptlet.TypeLib")
> > guid = TRIM(MID(cstr(typ.GUID),2,36))
> > Response.Cookies("guid") = guid
> > Response.Cookies("guid").path = "/"
> > Response.Cookies("guid").expires = now() + 1
> > set typ = nothing
> >
> > Lateley, some visitors to the website are actually receiving the same guid.
> >
> > How is this possible? Is there a process that may be used to reset the guid
> > delevery sysem?
> >
> >
> > Julian
> >
> >
> >
>
>
Re: GUID values repeating
am 28.03.2007 01:52:20 von Jon Paal
that's a valid point , although you should reply to the original poster who asked the question...
"Tim Williams" wrote in message news:uyFxzhMcHHA.4836@TK2MSFTNGP03.phx.gbl...
> ...and how do you know they're not the same user ?
> IP address may not be definitive.
>
> --
> Tim Williams
> Palo Alto, CA
>
>
> "Jon Paal [MSMD]" wrote in message news:130g5psfoch0p5a@corp.supernews.com...
>> how do you know they have the same guid ?
>>
>>
>>
>> "stjulian" wrote in message news:ek7X828bHHA.4176@TK2MSFTNGP02.phx.gbl...
>> > IN IIS 6.0, classic .asp
>> >
>> > I have been creating new GUID's through this block of code
>> >
>> > set typ = server.createobject("Scriptlet.TypeLib")
>> > guid = TRIM(MID(cstr(typ.GUID),2,36))
>> > Response.Cookies("guid") = guid
>> > Response.Cookies("guid").path = "/"
>> > Response.Cookies("guid").expires = now() + 1
>> > set typ = nothing
>> >
>> > Lateley, some visitors to the website are actually receiving the same guid.
>> >
>> > How is this possible? Is there a process that may be used to reset the guid
>> > delevery sysem?
>> >
>> >
>> > Julian
>> >
>> >
>> >
>>
>>
>
>