GUID values repeating

Discussion in 'ASP General' started by stjulian, Mar 26, 2007.

  1. stjulian

    stjulian Guest

    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
     
    stjulian, Mar 26, 2007
    #1
    1. Advertising

  2. stjulian

    stjulian Guest

    They are entered into a database and I have seen repeats from different IP
    addresses.

    Julian

    "Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot com> wrote in message
    news:...
    > how do you know they have the same guid ?
    >
    >
    >
    > "stjulian" <> wrote in message
    > news:...
    >> 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
    >>
    >>
    >>

    >
    >
     
    stjulian, Mar 27, 2007
    #2
    1. Advertising

  3. stjulian

    Tim Williams Guest

    ....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]" <Jon nospam Paal @ everywhere dot com> wrote in message news:...
    > how do you know they have the same guid ?
    >
    >
    >
    > "stjulian" <> wrote in message news:...
    > > 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
    > >
    > >
    > >

    >
    >
     
    Tim Williams, Mar 28, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LL

    GUID?

    LL, Nov 3, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    733
    Atila B.
    Nov 4, 2003
  2. Sky
    Replies:
    2
    Views:
    447
  3. Grey

    Create GUID

    Grey, May 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,900
    =?Utf-8?B?UmF2aWthbnRoW01WUF0=?=
    May 6, 2004
  4. Jon Bosker

    Suppress Repeating Values

    Jon Bosker, Oct 1, 2003, in forum: XML
    Replies:
    1
    Views:
    626
    Jon Bosker
    Oct 16, 2003
  5. Replies:
    1
    Views:
    468
    Eliyahu Goldin
    Sep 10, 2007
Loading...

Share This Page