e commerce - Credit card expiration dates-Inclusive or exclusive?

Say you've got a credit card number with an expiration date of 05/08-i.e. May 2008. Does that mean the card expires on the morning of the 1st of May 2008, or the night of the 31st of May 2008?…


testing - How to test credit card interactions?

After reading this answer, I wonder if there's a way to get a "testing" credit card number. One that you can experiment with but that doesn't actually charge anything.…


google api - Google Authentication API: How to get the user's gmail address

I've been studying the Google authentication API(AuthSub)... My question is, how do I get the user's account information(at least their Gmail address) after the authentication has passed? Because…


http - Is there a way to clear a user's browser of my page, or say not to use cache?

Is there a command in classic ASP I can use to tell the browser not to pull the page from it's cache, or, to not cache, or clear the cache of my page?…


ruby on rails - How do I turn off CSRF protection in a rails app?

The CSRF prevention built in to Rails is causing some problems for some automated load testing we are doing, and I want to turn it off for the duration of the process. How do I do this?…


What is the best way to validate a credit card in PHP?

Given a credit card number and no additional information, what is the best way in PHP to determine whether or not it is a valid number? Right now I need something that will work with American Express,…


php - Design pattern for memcached data caching

It's easy to wrap optional memcached caching around your existing database queries. For example: Old(DB-only): function getX x=get from db return x end New(DB with memcache): function ge…


ASP.NET membership password expiration

I am using ASP.NET membership for the authentication of my web app. This worked great for me. I now have to implement password expiration. If the password has expired the user should be redirected to…



I'm confused about HTTP caching

I've been thinking about batch reads and writes in a RESTful environment, and I think I've come to the realization that I have broader questions about HTTP caching.(Below I use commas(",") to deli…


Javascript Cookie with no expiration date

I would like to set up a cookie that never expires. Would that even be possible? document.cookie="name=value; expires=date; path=path;domain=domain; secure"; I don't want to make the date really l…




token get how example api refresh access oauth google session