hi..

i want to knw how i can create a link to some website which is valid for 3 hours only..im building an app wher i need to send this link to a user with the page name in encrypted format n which will be expired in 3 hours..

forexample,

www.abc.com/[some encrypted code for my file name]..

is it correct that i need to use cache to store it n then expire it in 3 hours?

plz do reply soon frendz...its reli urgent...

thanks in advance

Store the link in a database with a "CreateDate" field. Then when you hit the URL Select * From LinkTable Where CreateDate >= ... and link = 'aaa' and if you bring back 0 rows send the client a 404 message.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.