File: scriptcookie.html

package info (click to toggle)
librnd 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,812 kB
  • sloc: ansic: 126,990; sh: 2,602; makefile: 2,145; awk: 7
file content (9 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
The script:
<ul>
	<li> may call ScriptCookie() <b>during script initialization</b> and save the resulting cookie string
	<li> may use the cookie string to register to core application or librnd infrastructure that requires cookie, such as <act>CreateMenu</act>
	<li> can depend on the application to call any unregistering associated with this specific cookie atomatically after script unload (<act>preunload</act>).
</ul>
<p>
The function can not be called outside of script initialization. The cookie
string can be used any time between script load and script unload.