1) Create a URL with a GUID or other unique Identifer for the document, put 
it in database along with the expiration time and the file location of the 
real doc.
2) Create an Httphandler that reads the URL and does a look up in the DB 
(using a stored proc of course)
3) If the URL is still valid, use the file location of the real doc and 
write the document out as part of the response stream. If the GUID isn't 
valid or the URL has expired redirect user to appropriprate page.



On 9/15/05, Meredith <[EMAIL PROTECTED]> wrote:
> 
> My company has a small ecommerce site and we have some electronic
> files that we sell. Currently we provide a link to the document based
> on some session information.
> 
> What we'd like to be able to do is e-mail a link to a document that
> would expire after a certain period of time (say 3 days). Similar to
> software downloads or something of that nature.
> 
> Anyone have any suggestions on how to do this? I'm working in ASP.net
> and VB.Net.
> 
> Thanks,
> 
> Meredith
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to