I need a .asp based creation using cookies to prevent visitors from viewing certain pages within my website more than a specified number of times before being required to be logged in. I believe this would be very similar to what like Planet Source Code does. I imagine this would be really easy for someone that knows how to write cookies properly.
For a better example of what I need, I have a generic example below.
20 standard web pages
10 special web pages
5 members only web pages
- The 20 standard pages would be accessible by everyone with no additional code.
- The 10 special pages would be accessible by everyone for 6 hits total. These pages will include an .asp include with the code. This should expire after 1 day.
(This exact number of hits total and expiration date will need to be adjustable over time, a small comment in the code on its location would be great).
- The 5 members only pages are only accessible by members that are logged in.
Basically the code that will be displayed on the included asp file on the special pages will have a if then statement:
If session("loggedin") <> true then
write the cookie and display the page, [url removed, login to view] "/subscription/" (after so many hits)
display the page
I believe this is pretty clear on what I need. The entire site is complete, i just need that bit of .asp code w/the cookie info. If you have any questions please contact me! Thanks!
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
* * *This broadcast message was sent to all bidders on Saturday May 13, 2006 1:33:38 PM:
minor change to description