expiration

Design Classic ASP applications to detect session expiration dynamically

I've got a Classic ASP application that relies on session; if the user leaves a screen idle and then runs a form post or other operation, I'd like to know whether the session has expired. Currently I'm checking session in each page to see if it's timed out, but is there a better, dynamic, JavaScripty approach that will do what banks do ...

Need to implement "expiration date" for beta software C#

I am developing software in C# for a Windows CE device and I have beta software soon to be released and I want it to die after a certain date so the final release will need to be downloaded. The user does not have internet access. I was thinking of using the system date but it can be changed by the user. I can start a timer or a count...

When is the expiration date of Visual Studio 2010 Beta?

When is the expiration date of Visual Studio 2010 Beta? ...

Trying to implement "far-future expiration date" for static files in django

I am attempting to use the far future expires method to cut down my site's load time. However when I access static files in firefox, the server still responds with HTTP/1.x 304 NOT MODIFIED. The request shouldn't even be made if the files are cached right? Here are the relevant httpd.conf lines I have for apache 2.2: LoadModule expir...

Memcache maximum key expiration time

Hi, What's memcached's maximum key expiration time? If I don't provide an expiration time and the cache gets full, what happens? ...

Replacing an item in memcached without changing the expiration time

I have several items on memcached that should expire 24h after the creation time. I need to update those items, while keeping the expiration time unchanged. How can I do this? Apparently the replace function requires an expiration parameter. ...

Zend framework session expires prematurely

This should be extremely simple, but I can't seem to get it! I'm using Zend Framework for PHP and handling sessions with the Zend_Session module. This is what I have in my Initializer (or bootstrap): Zend_Session::start(); Zend_Session::rememberMe(864000); 864000 seconds should be good for 10 days, but I'm still being kicked out at ...

Expiration of IPhone AdHoc Tester Provisioning Profiles

Is it possible to renew an adhoc tester's provisioning profile PRIOR to expiration? Currently, it seems I have to wait for it to expire before I can renew it -- which means that my testers lose a day of testing while waiting for me to renew the profile and mail it to them. ...

httpsession doesn't expires when reverse Ajax is enabled

Hello. I have a web application that uses DWR reverse Ajax (pollAndCometEnabled set to true) In my web.xml i have set a timeout of 30 minutes for the HttpSession. Since DWR polls the server, the http session is always active and the result is that it never expires, even if the user's interaction is inactive for over 30 minutes. Does anyo...

When is a cached stylesheet refreshed in Rails ?

In a Rails application, if I group several stylesheets into one using caching, will the resulting file be automatically refreshed when one of the stylesheets is updated ? stylesheet_link_tag "style1.css", "style2.css", :cache => "mystyles" And, if not, how can I expire the resulting file ? ...

Implementing Expiration Dates in an application?

I'd like to put an expiration date in some software I made. Obviously psuedocode: if time() > xxx: exit() All someone has to do here is set their system clock back. Anything better to do? ...

Is there any other time service than system time that we can make use?

I am developing a desktop app and it have an trial period after which application will get expire. Currently I am using system time. Since user can easily change it, I thought its not a good way to follow. Is there any other time service that is available which I can make use of? I heard something like system clock count or something l...

Data expiration

I developed an application where the user can create tasks (like a an agenda, ERP or CRM) So, the user creates a task and that task has an expiration date. The idea is to erase the entry when the task expires. I've been thinking solutions, like having a timer and so, but: There is any method or way to create data that expires?? I mean,...

AD Password About to Expire check problem with ASP.Net

Hello everyone, I am trying to write some code to check the AD password age during a user login and notify them of the 15 remaining days. I am using the ASP.Net code that I found on the Microsoft MSDN site and I managed to add a function that checks the if the account is set to change password at next login. The login and the change pas...

controlling the expiration of files in the cache

Hi there I was wondering if you could help me, Im trying to set an expiration date on the caching of certain files in my website, are there some tips you could give me how to do that? Ive been able to find some things on how to change entire file types, but not SPECIFIC files. Is that possible? ExpiresActive On # enab...

how to set library expiration date on iPhone static library?

Hello, I have developed a static library in iphone and was able to successfully use it for a single project. I want to give the project source code to the client. But I want the library to be working only for thirty days from the day i am releasing to the client. How can i do it? Here is an option that i thought of: 1. Put up a hard co...

Should Get or should Post be used to get AJAX content that expires often?

Hi, I have AJAX calls that get content that expires often. To get that content is is better practice to use: Post or Get and set the Cache Expiration Date as immediate on the server? Thanks, Jon ...

PHP Session expire event

Hi, I am trying to make some changes to an opensource project. I want to keep track of when users log in and log out. Right now I change their login status in db when they login or manually log out. The problem right now is that I cannot find out if the user just closed their browser without pressing on logout button. For this reason ...

Get A Cookie to Not Expire While Page is Open, But Last 1 Hour When It's Closed

Hi All I have a page that displays data which is read from a cookie. The cookie expires after an hour. Frequently, a user will navigate to the page and keep it open. When they come back to it later, the cookie has expired and the data on the page is no longer relevant. Can anyone suggest how I can set the cookie's expiration time to la...

ASP.net auction expiration mechanism

How to realize auction expiration? Make it inactive after 1-3-5 days? Something like eBay? Thank you! I am using asp.net c# Any links for information would be appreciated, I have "active" boolean field in my auction table ...