function init()
{
var arrStr = document.cookie.split("; ");
var time ;
for(var i = 0;i < arrStr.length;i ++){
var temp = arrStr[i].split("=");
if(temp[0] == "<%=username %>"
{
time = unescape(temp[1]);
}
}
var date = new Date();
var str = "<%=username %>"+"="+escape("<%=date %>");
var ms = 99999999*3600*1000;
date.setTime(date.getTime() + ms);
str += "; expires=" + date.toGMTString();
document.cookie = str;
document.getElementById("inputTime").value = time;
}
分享到:
相关推荐
This is a hands-on book which introduces you to agile JavaScript web and mobile software development using the latest cutting-edge front-end and back-end technologies including: Node.js, MongoDB, ...
7.9 Meet-in-the-middle attack 170 7.10 Inner-CBC EDE for a block cipher in triple mode 171 7.11 Outer-CBC EDE for a block cipher in triple mode 171 7.12 CBC residue MAC 173 7.13 Public-key ...
This is a hands-on book which introduces you to agile JavaScript web and mobile software development using the latest cutting-edge front-end and back-end technologies including: Node.js, MongoDB, ...
and that its integration can save you a lot of time and effort This book will guide you through the path of the rapidly spreading JavaScript Framework Vue.js Who This Book Is For This book is for ...
codebase, meaning that developers can save time and energy when creating desktop apps that all OSs can use. NW.js and Electron come from a shared history, and have some similar approaches to app ...
We begin with exploring the library, and will learn about the tricks it uses to help us save development time when creating and managing styles, right through to using Less.js in some practical, real...
You have reached the home of Smart Mobile Studio, a very exciting project that allows you to write ordinary Pascal in the flavour made famous by Delphi and Free Pascal, but generate feature rich, ...
Practical JavaScript, DOM, and Ajax Projects is ideal for web developers already experienced in ... This book will save you countless hours of development time and help further your JavaScript knowledge!
Results are displayed in real time in the window with various informations about progression. Files and folders found are displayed in a friendly mini Windows-Explorer. If you have any ...
codebase, meaning that developers can save time and energy when creating desktop apps that all OSs can use. NW.js and Electron come from a shared history, and have some similar approaches to app ...
The directory from the --with-config-file-path compile time option, or the ; Windows directory (C:\windows or C:\winnt) ; See the PHP docs for more specific information. ; ...
* [Sorting with the help of HTML5 Drag'n'Drop API](https://github.com/RubaXa/Sortable/wiki/Sorting-with-the-help-of-HTML5-Drag'n'Drop-API/) (December 23, 2013) ### Install Via npm ```bash ...
this can save you a lot of time :-) cat words.txt | sort | uniq > dictionary.txt * if you know that the target is using a password policy (allowing users only to choose password with a minimum ...
MGIndex will sort the keys in the page's dictionary and split the data in two pages ( similar to a b+tree split) and update the page list by adding the new page and changing the first keys needed....
If you want to make a good, well informed decision, we recommend you to check the recent browser usage statistics and analyze the browsers and devices used by your website抯 visitors. Optimized for ...
- **Loading the Scripts**: Integrating JavaScript code and libraries needed for the game. - **Creating the Splash Screen**: Designing and implementing the splash screen, including styling and ...
By removing the need to write a lot of code to implement popular features, it will allow you to save time and get your project published in record time. Edgehero.js supports centering, forms/inputs,...
You'll also go beyond the basics and learn how to save your own web graphics, use Cascading Style Sheets (CSS), create dynamic web content with basic JavaScript, and upload your site to the web. By ...
8. **Nashorn JavaScript Engine:** JDK 1.8 includes a built-in JavaScript engine called Nashorn, allowing Java developers to execute JavaScript code within the JVM and facilitate interoperation between...