-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Da_74
Message 1 in Discussion

My requirement is related to caching. I have a link on my website which opens a PDF 
document. However, before displaying the document I pop up a form and get some 
information from the user to save in the database. I need to know a way so that when 
the user clicks on the link again (even after closing and opening a new browser 
session) within the next two days, the user should not be asked to fill in the 
information again. However, on the third day, if he clicks on the same link, he will 
again get a pop up form. I tried the following : Cache.Insert("myKey", "myValue", 
Nothing, DateTime.Now.AddDays(2),TimeSpan.Zero). The caching is done, but on the 
server side. The PDF document is directly opened to any other who clicks the link, 
whereas, for a new user, the popup form should open, a cache maintained on his machine 
for two days and so on for every new user..Can anyone help?

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to