FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » [MEMCACHED] Is there a way to get the expiration of a key?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
[MEMCACHED] Is there a way to get the expiration of a key? [message #175000] Tue, 02 August 2011 12:43 Go to next message
Pierre GANDON is currently offline  Pierre GANDON
Messages: 4
Registered: August 2011
Karma: 0
Junior Member
Hi all,

I'm trying to find a way with memcached to get the expiration value of
a key. When you set a value, you can set this expirartion to a
timestamp in the future. What I want is to get this value related to a
key, to know until when a key is valid, but I couldn't find anything in
Memcached documentaion which can do this.

Thank you in advance for your help

Regards

Pierre
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175014 is a reply to message #175000] Wed, 03 August 2011 13:44 Go to previous messageGo to next message
Pierre GANDON is currently offline  Pierre GANDON
Messages: 4
Registered: August 2011
Karma: 0
Junior Member
On 2011-08-02 12:43:49 +0000, Pierre GANDON said:

> Hi all,
>
> I'm trying to find a way with memcached to get the expiration value of
> a key. When you set a value, you can set this expirartion to a
> timestamp in the future. What I want is to get this value related to a
> key, to know until when a key is valid, but I couldn't find anything in
> Memcached documentaion which can do this.
>
> Thank you in advance for your help
>
> Regards
>
> Pierre

Any clue about that one?

Thanks again

P
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175015 is a reply to message #175014] Wed, 03 August 2011 13:52 Go to previous messageGo to next message
A.Reader is currently offline  A.Reader
Messages: 15
Registered: December 2010
Karma: 0
Junior Member
On Wed, 3 Aug 2011 15:44:59 +0200,
Pierre GANDON <pedroleouf(at)gmail(dot)com> wrote:

> On 2011-08-02 12:43:49 +0000, Pierre GANDON said:
>
>> Hi all,
>>
>> I'm trying to find a way with memcached to get the expiration value of
>> a key. When you set a value, you can set this expirartion to a
>> timestamp in the future. What I want is to get this value related to a
>> key, to know until when a key is valid, but I couldn't find anything in
>> Memcached documentaion which can do this.
>>
>> Thank you in advance for your help
>>
>> Regards
>>
>> Pierre
>
> Any clue about that one?
>
> Thanks again
>
> P

This group might not be the best place to get an answer. Have
you tried http://code.google.com/p/memcached/wiki/NewStart ?
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175018 is a reply to message #175015] Wed, 03 August 2011 13:59 Go to previous messageGo to next message
A.Reader is currently offline  A.Reader
Messages: 15
Registered: December 2010
Karma: 0
Junior Member
On Wed, 03 Aug 2011 09:52:40 -0400,
I, brain-dead, wrote

> This group might not be the best place to get an answer. Have
> you tried http://code.google.com/p/memcached/wiki/NewStart ?

not having read carefully enough to see

>> but I couldn't find anything in
>>> Memcached documentaion which can do this.

Apologies!
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175019 is a reply to message #175015] Wed, 03 August 2011 14:09 Go to previous messageGo to next message
Pierre GANDON is currently offline  Pierre GANDON
Messages: 4
Registered: August 2011
Karma: 0
Junior Member
On 2011-08-03 13:52:40 +0000, A.Reader said:

> On Wed, 3 Aug 2011 15:44:59 +0200,
> Pierre GANDON <pedroleouf(at)gmail(dot)com> wrote:
>
>> On 2011-08-02 12:43:49 +0000, Pierre GANDON said:
>>
>>> Hi all,
>>>
>>> I'm trying to find a way with memcached to get the expiration value of
>>> a key. When you set a value, you can set this expirartion to a
>>> timestamp in the future. What I want is to get this value related to a
>>> key, to know until when a key is valid, but I couldn't find anything in
>>> Memcached documentaion which can do this.
>>>
>>> Thank you in advance for your help
>>>
>>> Regards
>>>
>>> Pierre
>>
>> Any clue about that one?
>>
>> Thanks again
>>
>> P
>
> This group might not be the best place to get an answer. Have
> you tried http://code.google.com/p/memcached/wiki/NewStart ?

Thanks! will have a look there too!

P
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175021 is a reply to message #175018] Wed, 03 August 2011 16:01 Go to previous message
Pierre GANDON is currently offline  Pierre GANDON
Messages: 4
Registered: August 2011
Karma: 0
Junior Member
On 2011-08-03 13:59:06 +0000, A.Reader said:

> On Wed, 03 Aug 2011 09:52:40 -0400,
> I, brain-dead, wrote
>
>> This group might not be the best place to get an answer. Have
>> you tried http://code.google.com/p/memcached/wiki/NewStart ?
>
> not having read carefully enough to see
>
>>> but I couldn't find anything in
>>>> Memcached documentaion which can do this.
>
> Apologies!

Yeah I was releasing that I went though these pages while doing some
research in google ;-)

Anyway, I'll look into it whne I'll have time, maybe I'll have to patch
the php lib in case it's in memcached doc but not in the php lib doc...

P
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: error message I don understand
Next Topic: mysql.dll won't load
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 07:21:03 GMT 2024

Total time taken to generate the page: 0.02147 seconds