<title>COOKIE LOGIC SHEET TEST1</title>
<br>Trying to generate a cookie with name=testname, value=testvalue, maxage=10 years </br>
<br>Cookie Generated</br>
<br>***********</br>
<br> Cookies as XML </br>
-<xsp-cookie:cookies>
-<xsp-cookie:cookie>
<xsp-cookie:version>0</xsp-cookie:version>
<xsp-cookie:name>JSESSIONID</xsp-cookie:name>
<xsp-cookie:maxage>-1</xsp-cookie:maxage>
<xsp-cookie:value>56ul6et5gmemq</xsp-cookie:value>
<xsp-cookie:secure>false</xsp-cookie:secure>
</xsp-cookie:cookie>
</xsp-cookie:cookies>
<br>***********</br>
<br> Single cookie as XML (using "name" attribute) </br>
<br>***********</br>
<br> Single cookie as XML (using "index" attribute) </br>
-<textarea cols="60" rows="8">
-<xsp-cookie:cookie>
<xsp-cookie:version>0</xsp-cookie:version>
<xsp-cookie:name>JSESSIONID</xsp-cookie:name>
<xsp-cookie:maxage>-1</xsp-cookie:maxage>
<xsp-cookie:value>56ul6et5gmemq</xsp-cookie:value>
<xsp-cookie:secure>false</xsp-cookie:secure>
</xsp-cookie:cookie>
</textarea>
<br>***********</br>
<br> Name of cookie by using index </br>
<cookiename>JSESSIONID</cookiename>
<br>***********</br>
<br> Comment of cookie by using name </br>
<cookiecommentname/>
<br>***********</br>
<br> Comment of cookie by using index </br>
<cookiecommentindex/>
<br>***********</br>
<br> Domain of cookie by using name </br>
<cookiedomainname/>
<br>***********</br>
<br> Domain of cookie by using index </br>
<cookiedomainindex/>
<br>***********</br>
<br> MaxAge of cookie by using name </br>
<cookiemaxagename/>
<br>***********</br>
<br> MaxAge of cookie by using index </br>
<cookiemaxageindex>-1</cookiemaxageindex>
<br>***********</br>
<br> Path of cookie by using name </br>
<cookiepathname/>
<br>***********</br>
<br> Path of cookie by using index </br>
<cookiepathindex/>
<br>***********</br>
<br> Secure of cookie by using name </br>
<cookiesecurename/>
<br>***********</br>
<br> Secure of cookie by using index </br>
<cookiesecureindex>false</cookiesecureindex>
<br>***********</br>
<br> Value of cookie by using name </br>
<cookievaluename/>
<br>***********</br>
<br> Value of cookie by using index </br>
<cookievalueindex>56ul6et5gmemq</cookievalueindex>
<br>***********</br>
<br> Version of cookie by using name </br>
<cookievaluename/>
<br>***********</br>
<br> Value of cookie by using index </br>
<cookievalueindex>0</cookievalueindex>
<br>***********</br>
</page>