Cookie expiration time : Is it really necessary? [duplicate]

Why not cookies be just there forever? Why expiry time is needed? Unless the app is very security critical (like banking) I don’t find a reason to expire the session. Why irritate user frequently with auth ?

Should I have session expiration (X dasys since session created, X days since lsat visit etc) for my normal webapp?

Recover posts and pages from expired domain (no xml x-port pre expiration)

Hey guys! Quick question, what is the easiest way to recover posts and pages from an old wordpress site? I have the database files, the wordpress site files captured pre-expiration, but the client did not export the XML to import into the new site pre-expiration. Do I just pull the specific tables in database and transmute to new? These files are from an old php version as well.

jQuery and cf7 expiration date and dynamic auto populate

I have a WordPress site running Woocommerce which uses products as courses. I manually add a selection dropdown form in the description which shows the dates a course is available. I have jQuery script to auto populate a date form dynamically when the user selects a date within an enquiry form. I also have a script which checks for todays date and hides any expired date within the selection dropdown. But they don’t seem to work together. Can anyone take a look at the JSFiddle and work out why it doesn’t work? If there is anything missing or extra information required please do ask! This is pulling my hair out!

If password expiration is applied, should door-locks expiration be applied too?

After reading some topics in there about password expiration, and also after reading this comment, a question shown up in my mind: if we apply password expiration for the safety of users, should our door locks’ key also expire?

By door lock, I mean any physical restriction access we might have, so lock(s) on the server room door, on the company’s building entries (including maybe the backdoor for fire troopers or so), vaults, etc.

For physical-key based door locks, this would mean issuing a new metal key every X months/days/whatever, get the old key back and provide the new key to users (assuming they still are allowed to open the door). Sounds pretty heavy and complex, but it might help against copied keys or so.

For electronic-based door locks, this would mean reissuing new passwords/key accesses so the RFID/whatever card would need an upgrade with the new access key. Sounds lighter to do, even tho it still require all employee with an allowed access to do the upgrade one way another. Here, I assume the electronic card holds a “session token” somehow, not a never-changing user ID that the lock would compare to a database of allowed users (in such case, the user ID itself on both card and DB would need to be rotated).

So, is such policy applied in some companies, standards, etc or is that just a dumb idea I got?

Expiration Timer Job only does half the job

I have been testing expiration policies on a library.

I put in about 2 dozen documents and then run the expiration timer job in CA.

What I notice is that only half of the documents get processed.

I then run the timer job again and the other half get processed. Is this normal behaviour? Or is there some not so obvious configuration that needs to be set so the timer job has enough juice to finish the job?

To my mind 2 dozen documents doesn’t sound like much.

“Expiration” of a Domain Entity in Microservice Architecture

I want to implement an expiration functionality for a domain entity. For example:

User queries a Gift Code that should expire somewhere around 30 mins after creation.

I see several approaches to this problem:

  1. Create a Scheduler inside a Service which will run every 30mins in a separate execution thread and expire all Gift Codes. This approach seems not the best one in case of several running instances of a Service. They all will race for the update in database.
  2. Create a Scheduler service which will ping GiftCode service every 30mins. Request will be sent to a single instance of GiftCode service selected by some loadbalancer/discovery server.
  3. Expire Gift Code during its next query/update. This approach is not quite applicable because later some actions (ex. email sending) might be added to be executed after expiration.

My question is whether there might be a better solution to this problem than 3 above.

Europe: Do 90 days of Schengen apply automatically after expiration of Student visa?

This question might have already been answered but I cannot seem one to perfectly fit my situation. I am an albanian citizen and currently staying in Austria with a D Visa which is available for 6 months. It expires on June 30th. I have a flight to take on June 23rd to Italy where I need to stay till July 6th. Which means, my visa will expire when I’m in Italy. My question is, do my 90 days of Schengen apply directly after my visa expires or should I first go to Albania and then return for them to start being counted? If I wasn’t clear enough tell me and I will answer as soon as possible Thanks in advance

Traveling to Italy from USA with Italian Passport near Expiration

Traveling to Italy from the US with an Italian passport that will have less than 3 months left before expiration upon arrival in Italy and will also have a valid US Green Card with no expiration impending. I will return to US before six weeks before Italian Passport Expires.

a) will I have issues with departure from the US and entry into Italy ?

b) will I have issues with departure from Italy and re-entry into US ?

…just trying to figure out whether it is worth trying to renew passport before I leave for Italy

Thanks Rosa