<!--
/*************************************************************
* This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com
* Fee free to distribute and modify code, but keep reference to its creator
*
* This class can be used to manipulate SharedObjects (aka Flash cookies)
* using swf file provided in package with different domain and namespace sstings.
* This class can set values from javascript, get saved values from
* SharedObjects (preserving data types) and delete SharedObjects.
*
* For more information, examples and online documentation visit:
* http://webcodingeasy.com/JS-classes/Manage-SharedObjects-using-Javascript
**************************************************************/
-->
<html>
<head>
</head>
<body>
<script type="text/javascript" src="./fcookie.packed.js" ></script>
<script type="text/javascript">
var fc = new fcookie({
debug: true,
onload: function()
{
fc.set("key","value");
alert(fc.get("key"));
}
});
</script>
</body>
</html> |