The scheme will vary on how the number is actually generated. Look in db.asp
from Aaron's cart. It has one way of generating the id.
Bob Lehmann
<jason@catamaranco.com> wrote in message
news:erW2MCNfEHA.140@TK2MSFTNGP12.phx.gbl...[color=blue]
> Thanks for the advice - I appreciate it...
>
> I now see what you were getting at....this is almost like starting a
> 'transcation' for a user based on db id to follow him around the site if
> cookies are not enabled....
>
> Just one question....I know that sql server does have a unique identifier
> field...is this what is triggering the number or does the target page
> activate an insert and then recall
> the number for appendment on the url....
>
> I wish I had seen this idea in my mind...I assumed from what I had read
> online that cookies or cookie degradation was the only way...
>
> I had also read Aaron's shopping car solution a while back but I though[/color]
the[color=blue]
> javascript could be an issue etc.....
>
> ps: I find the wrox books okay but they usually have a lot of errors which
> can also be a hinderance...
>
> Thanks
> Jason
>
>
>
>
> "Bob Lehmann" <nospam@dontbotherme.zzz> wrote in message
> news:ulUlCwMfEHA.2916@TK2MSFTNGP12.phx.gbl...[color=green]
> > It's not impossible. And, I don't think you understand what is going on
> > there.
> >
> > This is what happens when a site chooses not to rely on cookies or[/color]
> sessions[color=green]
> > for tracking users....
> >
> > 1. User enters site
> > 2. A unique ID is assigned to the user, usually from a DB generated[/color][/color]
unique[color=blue][color=green]
> > ID
> > 3. The unique id is stored in a DB
> > 4. The unique ID is appended to *all* URLs to track the user, and passed
> > from page to page in the URL
> > 5. If the unique ID is needed on a page, it is looked up in the DB and[/color]
> used[color=green]
> > as a key in the DB for whatever transaction took place
> >
> > You are making this cookies / no cookies problem way more difficult than[/color]
> it[color=green]
> > needs to be.
> >
> > You need to come up with some Use / Business Cases to determine if the[/color][/color]
no[color=blue][color=green]
> > cookie problem is really a problem to begin with. If no cookies will
> > severely impact your application, then code a solution that doesn't rely[/color]
> on[color=green]
> > cookies. Don't add complexity developing 2 solutions to the problem
> >
> > If there is bearable risk in not supporting the no-cookie folks, then[/color]
> direct[color=green]
> > them to page that informs that accepting cookies are required, and let[/color]
> them[color=green]
> > decide.
> >
> > I'm not trying to be critical - You are obviously working very hard to[/color][/color]
do[color=blue][color=green]
> > whatever it is you are doing. But, you are lacking some fundamentals[/color][/color]
that[color=blue][color=green]
> > are causing you to go down paths trying to finding solutions to problems
> > that don't exist.
> >
> > I suggest reading some basic literature on server-side programming and[/color]
> ASP.[color=green]
> >
> > Also, read this...[/color]
>[color=green]
> >
> > Bob Lehmann
> >
> >
> > <jason@catamaranco.com> wrote in message
> > news:uuiIS%23LfEHA.3916@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > You see, this cannot be possible, as his example is based on returning[/color][/color]
> to[color=green][color=darkred]
> > > the home page of Amazon after he has disabled cookies...thus it is not
> > > possible for the browser to know who he is unless it was pulling:
> > >
> > > 1. Cookie (but disabled, so impossible)
> > > 2. IP (But they would never do this method due to dynamic dhcp and aol[/color]
> > user[color=darkred]
> > > implications of same ip)
> > >
> > > Thus, something is screwed up with his explanation.
> > >
> > > - Jason
> > >
> > >
> > > "Bob Lehmann" <nospam@dontbotherme.zzz> wrote in message
> > > news:%23Ceuq7LfEHA.396@TK2MSFTNGP12.phx.gbl...
> > > > I'm not sure.
> > > >
> > > > In this case, though, it looks like a GUID is being generated by the[/color][/color]
> DB.[color=green][color=darkred]
> > > >
> > > > Bob Lehmann
> > > >
> > > > <jason@catamaranco.com> wrote in message
> > > > news:Ou72vSLfEHA.3292@TK2MSFTNGP10.phx.gbl...
> > > > > But is that ID not dependent on being retrieved iniitally from the[/color]
> > user[color=darkred]
> > > > > machines cookie?
> > > > >
> > > > > If cookies are disabled this ID would not be retrievable for later[/color][/color]
> use[color=green][color=darkred]
> > > on
> > > > > the server?
> > > > >
> > > > > "Bob Lehmann" <nospam@dontbotherme.zzz> wrote in message
> > > > > news:%23px55DLfEHA.3348@TK2MSFTNGP12.phx.gbl...
> > > > > > The id (107-0357560-1728507) is appended to the url, and then[/color]
> > checked,[color=darkred]
> > > > > > usually, against a value in a DB to keep track of the user.
> > > > > >
> > > > > > Bob Lehmann
> > > > > >
> > > > > > <jason@catamaranco.com> wrote in message
> > > > > > news:%23MxF0gJfEHA.3412@TK2MSFTNGP11.phx.gbl...
> > > > > > > I must be stupid, but I am picking up contradictions on how[/color]
> > cookies[color=darkred]
> > > > are
> > > > > > used
> > > > > > > in sites. This dude says of Amazon:
> > > > > > >
> > > > > > > Statement: "Amazon.com passes this test when it comes to the[/color][/color]
> site[color=green][color=darkred]
> > > > being
> > > > > > 100%
> > > > > > > usable if one were to manually disable and delete cookies"
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >[/color]
> >[/color]
>[/color]
http://www.stickyminds.com/sitewide....ObjectType=ART[color=blue][color=green][color=darkred]
> > > > > > > He then says: . I was able to use all major aspects of the
> > > > > site-searching,
> > > > > > > shopping cart, checkout functions-even though cookies were
> > > completely
> > > > > > > disabled.
> > > > > > >
> > > > > > > His conclusion:
> > > > > > >
> > > > > > > It appears that state maintenance was being taken care of
> > > server-side,
> > > > > > based
> > > > > > > on the session ID at the end of the home page URL. For[/color][/color][/color]
example,[color=blue]
> I[color=green][color=darkred]
> > > > chose
> > > > > > the
> > > > > > > Yamaha CD-ROM kit on the amazon home page and added it to my
> > > shopping
> > > > > > cart.
> > > > > > > The shopping cart page URL was
> > > > > > >[/color][/color]
>
http://www.amazon.com/./one-click-th...357560-1728507.[color=green][color=darkred]
> > > > > Changing
> > > > > > > the rightmost digit from 7 to 8, and posting this edited URL,[/color][/color]
> lost[color=green][color=darkred]
> > > my
> > > > > > > shopping cart and brought up the following error page, lending
> > > further
> > > > > > > support to the probability of server-side state maintenance[/color][/color][/color]
with[color=blue]
> a[color=green][color=darkred]
> > > > > session
> > > > > > > ID in the URL.
> > > > > > >
> > > > > > > My Question:
> > > > > > >
> > > > > > > How can 'state' be preserved on the server via a session ID if
> > > COOKIES
> > > > > ARE
> > > > > > > DISABLED and DELETEd....
> > > > > > >
> > > > > > > I thought if the user disabled cookies that blew if for[/color][/color][/color]
Session[color=blue][color=green][color=darkred]
> > > > > > Variables...
> > > > > > >
> > > > > > > Could someone please tell me what I am missing here?
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > Jason
> > > > > > >
> > > > > > > <jason@catamaranco.com> wrote in message
> > > > > > > news:Ob$i7aJfEHA.592@TK2MSFTNGP11.phx.gbl...
> > > > > > > > Is it possible for a user to enable permanent cookies but[/color]
> > disable[color=darkred]
> > > > > > session
> > > > > > > > cookies.....this seems like a contradition yet this is what[/color][/color][/color]
I[color=blue][color=green][color=darkred]
> > > appear
> > > > > to
> > > > > > be
> > > > > > > > reading in online articles?
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]