Re: Forcing a NEWCART

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13732
interpreted = N
texte = At 10:08 AM -0800 10/3/97, Grant Hulbert is rumored to have typed: > >I'm trying to find a simple solution for forcing a new cart number on > >someone if they come from a page *other* than dhorse.com. > > I assume the problem is other links jumping into the middle of your site. > > How about an [include] at the top of every page that does a check for >referrer^dhorse, and if not then show a message that says Thanks for >visiting, please enter through our front door?That would pretty much defeat the purpose of having our site indexed or asking people to bookmark certain pages.How about this method:Every template has a header in it that reads: [HIDEIF [REFERRER]^dhorse.com][/HIDEIF]Then, every HREF would read: The only thing that might screw this up is if the page is cached somewhere (like by AOL), but I think there's a META tag that can prevent that from happening.Does anyone see anything wrong with this process?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Forcing a NEWCART (Grant Hulbert 1997)
  2. Re: Forcing a NEWCART (Kenneth Grome 1997)
  3. Re: Forcing a NEWCART (Eddie Schrieffer 1997)
  4. Re: Forcing a NEWCART (Michael Winston 1997)
  5. Re: Forcing a NEWCART (Grant Hulbert 1997)
  6. Re: Forcing a NEWCART (Grant Hulbert 1997)
  7. Forcing a NEWCART (Michael Winston 1997)
At 10:08 AM -0800 10/3/97, Grant Hulbert is rumored to have typed: > >I'm trying to find a simple solution for forcing a new cart number on > >someone if they come from a page *other* than dhorse.com. > > I assume the problem is other links jumping into the middle of your site. > > How about an
[include] at the top of every page that does a check for >referrer^dhorse, and if not then show a message that says Thanks for >visiting, please enter through our front door?That would pretty much defeat the purpose of having our site indexed or asking people to bookmark certain pages.How about this method:Every template has a header in it that reads: [HIDEIF [referrer]^dhorse.com][/HIDEIF]Then, every HREF would read: [referrer]^dhorse.com][cart][/SHOWIF][HIDEIF [referrer]^dhorse.com][math]NEWCART[/MATH][/HIDEIF]>The only thing that might screw this up is if the page is cached somewhere (like by AOL), but I think there's a META tag that can prevent that from happening.Does anyone see anything wrong with this process?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

select multiple (1997) Location of Webcat site in folder hierarchy (1997) select multiple (1997) UnitShipCost, Formulas.db and passwords (2003) Perl to WebDNA help please (2008) Spiders, robots, whatever you want to call them (1998) ShowIf variables (1997) Bug when including a db file & [platform] (2000) ShowNext Command (1997) Table code broken? (2004) Canadian WebDNA host wanted (2004) Return records from another (1997) suggestions for a Windows based text editor? (2004) Summing fields (1997) [OT] HTML, HTML docs (2001) Buying sans cart (1997) WebDNA for Window 2000 Server (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [WebDNA] Query re: autonumber (2010) Missing Cart Information (2003)