<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C2B66D.474463B0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;
        mso-font-charset:0;
        mso-generic-font-family:modern;
        mso-font-format:other;
        mso-font-pitch:fixed;
        mso-font-signature:3 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I'm just trying to implement a "Remember Login"
function and maybe need some assistance...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Does someone have already done writing and reading cookies
within OpenCMS?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is there any method or function in OpenCMS API? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I'm currently trying something like this...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span
class=SpellE><span class=GramE><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black;background:white;mso-highlight:white'>LoginCookie.setMaxAge</span></font></span></span><span
class=GramE><font size=2 color=black face=Courier><span style='font-size:10.0pt;
font-family:Courier;mso-bidi-font-family:Courier;color:black;background:white;
mso-highlight:white'>(</span></font></span><font size=2 color=black
face=Courier><span style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:
Courier;color:black;background:white;mso-highlight:white'>86400*365);</span></font><font
size=2 face=Courier><span style='font-size:10.0pt;font-family:Courier;
mso-bidi-font-family:Courier'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span
class=SpellE><font size=2 color=black face=Courier><span style='font-size:10.0pt;
font-family:Courier;mso-bidi-font-family:Courier;color:black;background:white;
mso-highlight:white'>HttpServletResponse</span></font></span><font size=2
face=Courier><span style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:
Courier;background:white;mso-highlight:white'> <span class=SpellE><font
color=black><span style='color:black'>res</span></font></span> <font
color=black><span style='color:black'>=</span></font> <font color=black><span
style='color:black'>(<span class=SpellE>HttpServletResponse</span>)</span></font>
<span class=SpellE><span class=GramE><font color=black><span style='color:black'>cms.getRequestContext</span></font></span></span><span
class=GramE><font color=black><span style='color:black'>(</span></font></span><font
color=black><span style='color:black'>).<span class=SpellE>getResponse</span>().<span
class=SpellE>getOriginalResponse</span>();</span></font><span style='mso-tab-count:
2'>            </span><span
style='mso-spacerun:yes'>    </span></span></font><font size=2
face=Courier><span style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:
Courier'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span
class=SpellE><span class=GramE><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black;background:white;mso-highlight:white'>res.addCookie</span></font></span></span><span
class=GramE><font size=2 color=black face=Courier><span style='font-size:10.0pt;
font-family:Courier;mso-bidi-font-family:Courier;color:black;background:white;
mso-highlight:white'>(</span></font></span><span class=SpellE><font size=2
color=black face=Courier><span style='font-size:10.0pt;font-family:Courier;
mso-bidi-font-family:Courier;color:black;background:white;mso-highlight:white'>LoginCookie</span></font></span><font
size=2 color=black face=Courier><span style='font-size:10.0pt;font-family:Courier;
mso-bidi-font-family:Courier;color:black;background:white;mso-highlight:white'>);</span></font><font
size=2 face=Courier><span style='font-size:10.0pt;font-family:Courier;
mso-bidi-font-family:Courier;background:white;mso-highlight:white'><span
style='mso-tab-count:7'>                                       </span></span></font><font
size=2 face=Courier><span style='font-size:10.0pt;font-family:Courier;
mso-bidi-font-family:Courier'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'>Maybe I write the Cookie too late within the code, because it
seems the Cookie is not written...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'>Does someone have experiences with this - please <span
class=GramE>help !</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'>Thanks in advance and a Happy New Year for all ... (late but I
will not forget)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'>Nico<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Courier><span
style='font-size:10.0pt;font-family:Courier;mso-bidi-font-family:Courier;
color:black'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>____________________________________</span></font><span
style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Nico Krause</span></font><span
style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>NorthStar Communications GmbH</span></font><span
style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Wallbergstr. 20-22    
85221 </span></font><st1:City><st1:place><font size=2 face=Arial><span
  style='font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>Dachau</span></font></st1:place></st1:City><span
style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Telefon: +49 (0) 81 31 / 9 96 87 - 53</span></font><span
style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Fax:      +49
(0) 81 31 / 9 96 87 - 29</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Mobil:    +49 (0) 1 71 / 3
70 10 70</span></font><span style='mso-no-proof:yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'> </span><o:p></o:p></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>