Skip navigation
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
574 Views 3 Replies Latest reply: Dec 28, 2012 2:38 AM by Folcan RSS
Folcan Newcomer 36 posts since
May 10, 2010
Currently Being Moderated

Dec 26, 2012 3:43 AM

How can I timeleft for PDStorage

Hi,

 

How can I display timeleft for a specific PDStorage ?

We use a PDStorage with a 5 day timeout, but it dont clear !

 

Another question :

 

Imagine a timeline, and a PDStorage with 5 mins timeout, This PDStorage is a Tab dim.

 

t0========X:2mins30==========5mins============Y:7mins30=============10mins

 

At t0 : I visit a webpage who fill the PDStorage with URLNAME, and a value (exemple : www.exemple.com=1)

 

At X : I visit a second webpage, and add a new line into my PDStorage Tab (exemple : www.exemple2.com=1)

 

Do you think the PDStorage timeleft will be 5 mins from X or from t0 ?



Regards,

--------------------------------------------
RLE @ Folcan
McAfee PS - NetStaff
Paris, FR
--------------------------------------------
  • Jon Scholten McAfee SME 856 posts since
    Nov 3, 2009
    Currently Being Moderated
    1. Dec 27, 2012 10:35 AM (in response to Folcan)
    Re: How can I timeleft for PDStorage

    I have raised a case with development to investigate the behavior you are seeing.

     

    Based on my testing the timeleft was from X. I would have expected the timeleft would be from t0.

     

    Best,

    Jon

  • Jon Scholten McAfee SME 856 posts since
    Nov 3, 2009
    Currently Being Moderated
    2. Dec 27, 2012 1:13 PM (in response to Jon Scholten)
    Re: How can I timeleft for PDStorage

    Hi Folcan,

     

    To answer your original question though, there is no way (nativley) to detemine how much time is left for a specific entry in PDStorage.

     

    You would most likley need to store the timestamp in epoch time (t0+5 minutes), and and subtract the current time (X) to give you how much time is left.

     

    If t0-X is less than 0, then that means the value should be expired.

     

    Best,

    Jon

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 5 points
  • Helpful Answers - 3 points