Setting Expire Time for Data

Hi,
Is there any way to set the expire time for data in BDB? I need the data persist only for a limited time, after that the data should be deleted from db.
If no such option available, is there any external tool to do this?
Thanks,

Thanks Sandra for your response.
I need to store the key/value pair for specific time, means it shouldn't persist ever. It should persist for some user specific time. After that it should be automatically deleted/expired. or Any other tool should do this!
Let me explain the scenario in elaboration, i need to store session (some) variables for 30 minutes, even if the user loggedout before 30 mins, some session variables should persist in the
database for 30 min. After 30 mins even if the user loggedin some session variable should be cleaned.
so i need the data to persist only for 30 mins!
My understanding is db->del will delete the key/value pair, but there is no such option for expire time.
Thanks,

Similar Messages

  • HT202157 setting network time and date

    What are the issues involved in setting the time and date on AppleTV?   Is this a network issue?

    P.C. was mentioned earlier so I will jump in and assume Windows....
    If the system is (made) a member of a Window administrative domain then all this is already in the box, and should be part of a well managed system (I have managed it on a workgroup as well, see the articles below for details). It's one of the things I try to promote as we often have systems switched on for hundreds / thousands of hours and knowing when some guy accidently switched it all off is realy usefull It helps with problems / events that occur outside our control and assists tracking down problems and stops drift / skewing of data.
    Check out the following articles for more information: -
      Basic Operation of the Windows Time Service
      http://support.microsoft.com/kb/q224799/
      Registry entries for the W32 TimeService
      http://support.microsoft.com/default.aspx?scid=kb;en-us;Q223184
      Windows 2000 cannot set the correct time when it connects to multiple NTP servers
      http://support.microsoft.com/?id=837196
    The time service is included on Windows XP as well. For NT4 there is / was a toolkit that allows operation from Microsoft.
    Use the command NET TIME /? (on W2K and XP)
    Either way you will come accross problems at the firewall if you want to get to an external time source. Unless you have on of those nifty little black boxes that pick up a radio signal from one of the available time sources.
    I like Dennis Knutsons idea because you can't always get IT's attention, sometimes they need a little help, thanks again Dennis for another good tip.

  • I can't set up time and date / no response or it s...

    Hi guys
    I hope You will help me.
    I purchased nokia 5800 (second hand) for my girlfriend this christmas as a present and everything is fine apart 'time and date settings'.
    When you going to 'setting' and try to select 'date and time' there is no reaction, if you trying open by clicking 'options' and than 'open' it appears straight away  'System error' message or if you trying do it from the home screen/desktop by clicking on the clock 'System error' message appears straight away.
    It is very confusing and driving me mad as this is christmas gift and she can't set up time and date.
    I've tried  update software using Nokia Software Updater and nothing
    I've restored factory setting and nothing as well. 
    Please help me
    Thank You very much for Your time
    Kind regards
    Martin 
    Solved!
    Go to Solution.

    Hi monpar77
    If you are using restore factory settings in "Phone management" due to UDP = User Data Preservation feature of this device that may not be sufficient and you may need to carry out a "hard reset" as detailed elsewhere in the forum. 
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How to set expiry time for cached Subjects of authenticated proxy service.

    How to set expiry time for cached Subjects of authenticated proxy service in message level authentication.
    Because of this, password change does not effect immediatly in proxy invocation.
    I'm using Weblogic 10.3 and OSB3.0

    Hi,
    You can activate Time-Dependent Publishing Service on your XML form and once the Lifetime of Documents is over then the document is not visible to users.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/frameset.htm
    It is only invisible but not deleted!
    So to delete all expired XML Forms you should run Scheduler Tasks for Time-Dependent Publishing:
    <b>TimeBasePublishingUnpublish</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/bc37b5789dee4eaa8005bff84f14cf/frameset.htm
    You can also create your own Scheduler Task which deletes/archieves all expired XML Forms.
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • Can I set a time for music in iTunes to stop

    I use an iPad to play my music to an Airplay speaker. I sometimes use the playlist on my iPad and if I want to increase my listening pleasure I would use Remote to play from my entire libray on the iMac.
    I've looked but can't seem to find any way of setting a timer for playback. I listen to music at night and rather than have it play the entire night. Dose anyone know of a a utility/app for atimer setting in iTunes?
    I believe Apple sould consider this feature for a future addition to iTunes.
    Thanks,
    HJKeats

    It is not yet a built-in feature, but there are quite a few sleep timers around.
    For example:
    http://en.softonic.com/s/sleep-timer:mac
    I have not tried them, however

  • I like to watch tvcatchup or sky go or I player on my iPad while falling asleep, the problem is that the iPad then stays on all night. I would like to find an app that allows me to set a timer for the iPad to switch itself off automatically.

    I like to watch tvcatchup or sky go or I player on my iPad while falling asleep, the problem is that the iPad then stays on all night. I would like to find an app that allows me to set a timer for the iPad to switch itself off automatically, like the sleeper function on a TV.
    Does such an app exist? Can anyone help me? Thanks

    You can try the Sleep Timer.
    https://itunes.apple.com/sg/app/music-sleep-timer/id320583424?mt=8

  • How do you set the time for this forum??? Not in nerd pleas

    how do you set the time for this forum?

    There were problems with the correct time display for postings, and based on another recent post this doesn't seem to have been fixed. My advice... don't worry about it.

  • Will my mac back up to time machine wile it is on but shut (asleep) and can you set a time for backups???

    will my mac back up to time machine wile it is on but shut (asleep) and can you set a time for backups???

    If your Mac Model supports POWERNAP under Mountain Lion, yes backups and software updates can occur while the mac is taking a power nap (kind of light sleep).

  • HT200197 It doesn´t let me set up time and date. It keeps searching endlessly. Therefore I am not able to use appletv

    t doesn´t let me set up time and date. It keeps searching endlessly. Therefore I can´t use appletv

    That means it is having trouble connecting to the network.
    Make sure location is set correctly. DNS should be set to automatic. Ensure router is up to date. If on wifi try ethernet. Reboot ATV and router.

  • Insert multiple images in one slide and setting dsiplay time for each

    Hi,
    I am using Adobe Captivate4.
    I could not able to insert multiple images in one slide and set display time for each image.
    Need help in this regard.

    This is not about background image.
    I have 3 images and want to insert in one slide only. I could able to insert image1 for first time, but could not able to insert image2 and image3.
    I have followed the same steps: Insert Menu>Image.

  • 39L4363D - Unable to set padding time for recording start and end time

    Hello,
    I have a problem with my 39L4363DG tv (Software 7.1.90.34.01.1).
    I'm not able the set padding time for recording start and/or end time as described in the [manual|http://www.toshiba-om.net/LCD/PDF/English/L4363-323950-English.pdf] on page 51. Both menu item "start padding time" and "end padding time" are disabled?
    Can anyone help me and give me an advice on how to solve it?

    Hi
    The padding time can be set for programmed recording.
    There is also an scheduling priority
    If scheduled time slots are next to each other and there is more than one minute between the end time of the first schedule and the start time of the next schedule, programmed recording will be performed correctly.
    When +Start Padding Time+ and +End Padding Time+ are set, the start time and end time will be the time plus the additional minutes.
    If scheduling times overlap, priority will be given to the programmed recording which starts first.
    When the programmed recording that started first ends, recording will switch to the next scheduled programme.
    At this time, depending on how far the scheduling times overlap, the beginning section of the next scheduled programme may not be recorded.

  • Can start date be set before valid for date for an equipment?

    Can start date be set before valid for date for an equipment?

    Hello,
    Generally when a asset/equipment  is purchased that is the valid from date and when commissioning done and it becomes operational then that date is start up date. So logically start up date should not before valid from date, it could be same.
    Can you elaborate why you want start up date before valid from date ?
    Thanks
    Naveen

  • Setting Idle Time for a session..

    Hi,
    Can you please help in setting idle time for a session using jsp.
    Thanks,
    Srini.

    How to set the timeoutsecs for a session. We can set this parameter in weblogic.properties file. This is constant for all the users. But I want to give the sessionouttime depending on user. Please help me regarding this.

  • How do you set the time and date for the fax on the HP Office Jet 4622 All-in-one Printer?

    I installed the HP Office Jet 4622 All-in-one Printer and everything works wonderfu.  However on the test page for the fax the time and date are showing Jan-00-00 00:00AM.  I do not know how to change the date and time.  Please help.  Thanks.
    This question was solved.
    View Solution.

    Use the Setup (wrench icon) button on the front of the printer to look through the settings menu to set the printer time and date.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Setting default times for events in ical.

    When setting an event in ICal on my Mac (Im using Lion 10.7.5) if I double click to start an event, it places an event on the day I clicked on.  Im in the month view.  When I go into the event to set the time, the default is 10 am to 6 pm and I have to reset it to an hour long event.  I do know that if I type in the time at the end of the event name, eg. Meet Mary 7 pm, the event will have an hour long duration in the calendar.  Is there a way to change the default for my first method of clicking to create a new event by double clicking in the day square for the event?  Thanks.

    Hi BumbleBBB,
    The article below will explain the parameters for adding events to the Calendar:
    iCal 5.x: Add events to a calendar
    Enter a name, date, and time duration for the event, and then press Return. For example, you can enter “Super Bowl Party Feb 6,” “Movie with Rebecca on Friday at 7pm,” “Soccer Game on Saturday from 11am-1pm,” or “Breakfast with Jon,” and then press Return.
    If you don’t enter a time duration for the event, iCal sets the event’s duration to 1 hour.
    If you don’t enter any time information for the event, iCal makes the event an all-day event.
    If you enter “breakfast” or “morning,” iCal sets the event to start at 9 a.m.
    If you enter “lunch “ or “noon,” iCal sets the event to start at 12 p.m.
    If you enter “dinner” or “night,” iCal sets the event to start at 8 p.m.
    I hope this information helps ...
    - Judy

Maybe you are looking for

  • Validation F110 automatic payment

    Hello Gurus. At this moment i trying to validate the posting date on T-CODE F110, i created a validation for this field but is not working. Does somebody has any idea how can i validate this field in TCODE F110? What i need is the posting date in TCO

  • Bought 3 songs on my iPod touch but didn't show up on iTunes. What to do?

    I bought 3 songs yesterday directly from the iTunes Store on my iPod touch. They all downloaded and processed, and I assumed that they showed up on my iPod's music library. Today I checked my iPod to listen to those 3 songs, but only one of them show

  • OSX 10.5.8 Mail App 3.6 - sent mails are gone

    After 16 years of using Eudora, I migrated to Mail 3.6 on 10.5.8. That was yesterday. Today I sent some emails with Mail 3.6 as reply to emails I received a few minutes before. The mails were sent correctly, as people told me so by phone. But, the se

  • Why wont my phone charge

    Hello I wonder if anybody can help! My iphone will not charge first it displayed charger not recognised and then nothing afterwards! Have tried different chargers and still nothing!

  • Dreamweaver CS4 critical installation error

    I have upgraded to a new PC (running windows 8.1) and when I run the Dreamweaver CS4 installer I get "Critical errors were found in setup".  I don't have any other CS4 products on my PC. What should I do?