How to know when a URL has been accessed?

  • Thread starter Thread starter Zachary Hilbun
  • Start date Start date
Z

Zachary Hilbun

I want to put a link in an email that a vendor can click to acknowledge that
they have received an order. The link could contain a batch number as part
of the URL or the batch number could be a parameter which is passed by the
link. I haven't written an app that deals with handling web accesses to a
web address so I'm not sure where to start on this. Is there an easy way to
do it?

===================================================
Zachary Hilbun
Software Consultant http://www.vianova.com
Via Nova OpenGL, Open Inventor 3D products, Windows 95/NT
Dallas, Texas VC++, C#, embedded systems, VxD's
1977 SSII SRX31185
G30
 
The easiest way is for every url to have a number in the querystring:

http://foo/bar.aspx?id=123

Then, in bar.aspx, you do Request.QueryString["id"], and then mark that
value as "read" in your DB.

-mike
MVP
 
Zachary said:
I want to put a link in an email that a vendor can click to acknowledge
that
they have received an order. The link could contain a batch number as
part of the URL or the batch number could be a parameter which is passed
by the
link. I haven't written an app that deals with handling web accesses to a
web address so I'm not sure where to start on this. Is there an easy way
to do it?

===================================================
Zachary Hilbun
Software Consultant http://www.vianova.com
Via Nova OpenGL, Open Inventor 3D products, Windows 95/NT
Dallas, Texas VC++, C#, embedded systems, VxD's
1977 SSII SRX31185
G30

1. create a web service with a method that takes the batch number as a
parameter.

2. allow http get protocol

3. add a link to a 1 px image tag. in the src attribute reference the name
of your web service and pass the parameter in the URL ( the way you would
in an http get ).
 
Back
Top