expiration

Managing execution priorities and request expiry time in your web application

Some installations that run our applications can be under hefty stress on a busy day. Our clients ask us is there is a way to manage priorities in our application. For example, in a typical internet banking application, banks are interested in having the form “Transfer money” responsive, while the “Statement” page is a lot less critical....

CodeIgniter extend user's session expiration time

Hi, Is it possible to extend user's session expiration time in CI. What I want to do is, by default every user's session cookie lasts for example 1 day, but every time user visits the site his session expiration time is extended by one more day. I don't know if it is a good idea to do this, maybe I should just set cookies life time for...

How to specify HTTP expiration header? (ASP.NET MVC+IIS)

I am already using output caching in my ASP.NET MVC application. Page speed tells me to specify HTTP cache expiration for css and images in the response header. I know that the Response object contains some properties that control cache expiration. I know that these properties can be used to control HTTP caching for response that I am ...

ASP.NET Cookie Update Value Without Updating Expiration?

Is it possible to update an ASP.NET cookies value without also having to update the expiration time? I have found that if I try and update a Cookie without also updating the expiration, that cookie no longer exists. I have the following code which I am try to modify. What's the point of having an expiration, if every time the cookie v...

A scheme for expiring downloaded content?

I am going to offer a web API service that allows users to download and "rent" content for a monthly subscription fee. The API will either be open to everyone or possibly just select parties (not sure yet). Each developer must agree to a license, and they receive a developer key for their person. Each software application will have its o...

Are there any problems with this browser-cache system?

I have a app-type web site with a couple of long list pages (such as a list of companies grouped by country) that take a few seconds to build, but don't change very often. I use APC & Memcache to some extent, but I also thought "why have it hit the server at all" so I devised this: ob_start(); require_once '../bootstrap.inc.php'; reque...

Forms Auth premature cookie expiration

Hi, I'm having trouble with a site that just went to production. For some reason, although the settings seem to be correct for a 15 minutes session timeout, users are reporting that in about 5 minutes they have to log in again. What can I check? how can I troubleshoot this? I can't reproduce it locally, or in our QA environment. Are the...

Expiration date NET 4 Beta 1

I have 25 days left to use VS2010 Beta 1. Will I still be able to use an application made in this version after that or is there an expiration date of the framwork itself? And yes I am upgrading but for different reasons I need to use this application a couple of months more. Anyone knows? Edit: The application needs to run in Beta 1 ie...

Expiring iPhone Provisioning Profiles

Hi, My client is asking me to distribute a demo app that should only be allowed to run for 5 days from the date of distribution. Is there a way for me to reduce the valid date of a provisioning profile in the iPhone provisioning portal to, say, 5 days, instead of the default 1 year for an ad-hoc distribution provisioning profile? Thank...

jQuery cookie expiration value

I have read a lot of jQuery cookie questions on here and know there is a jQuery cookie plugin (jQuery cookie). Without doing much investigation, the question: is there a way to determine expiration date of cookie? From the jquery.cookie doc: /** * Get the value of a cookie with the given name. * * @example $.cookie('the_cookie'); *...

PHP Session Expiration

A question with respect to Session Expiration in PHP. I need my server to throw away session information if that user has been inactive for a while (for testing purposes, 5 seconds). I've looked at this question and particular at the answer by Gumbo (+28 votes) and I've been wondering about the feasibility of this answer with respect ...

is the expiration time updated in memcached after an increment?

When you put a value in memcached, you can set an expiration time. However, when you increment a value you can not (at least not from PHP) set a new expiration time. My question: Is the expiration time reset on increment to it's initial value? Or it it unchanged? Or is there another way to regenerate the expiration time? EDIT: Both t...

How to handle the expiration of a "remember me" option?

For a cookie based "remember me" function on a web app the user can choose to stay logged in for X days: What do you think is better: a) set the expiration time of the "remember me" only at first login, so the cookie expires after X days after the first login? or b) re-set the expiration time each time the user logs in, so the cookie...

How to have PHP session expire upon browser close OR some extended duration of time

My php session is set to expire when user closes the browser but I noticed that if I leave my browser open for an extended period of time (24+ hours for example) the session still persists. Is there a way that I can have these sessions expire either when the browser is closed or when some extended period of time has transpired? ...

Appfabric cache (Velocity): Expiration in non-expirable cache and unreadable trace log ?

Hi guys, we are using Appfabric cache in our project, and we ran into 2 major problems. First - we are using named caches (no explicitly created regions). One of them, created as Expirable=false, Eviction=none, TTL=525600 is used for objects that should be always available (populated at application start, via the Put method). But from ...