+ Start a Discussion
Sumit  61Sumit 61 

I have created a custom link for update one field, Now I want to add time session on it.

I have created one custom site link for update field.

Now I want to add time session on it. 
Like, if the user did not click this link before 24 hours the session will expire and will be not able to update the record by the same link.

How can I do that?

this is my VF page which I am using under sites.​
  1. <apex:page standardController="Bank__c" >
  2. <apex:form >
  3.     <apex:pageBlock >
  4.         <apex:pageBlockSection >
  5.             <apex:inputField value="{!Bank__c.Response__c}"/>
  6.             <apex:inputField value="{!Bank__c.Name}"/>
  7.         </apex:pageBlockSection>
  8.         <apeX:pageBlockButtons >
  9.             <apex:commandButton value="Save" action="{!Save}"/>
  10.         </apeX:pageBlockButtons>
  11.     </apex:pageBlock>
  12.     
  13. </apex:form>
  14. </apex:page>
Thanks & Regards 
Sumit