<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Ok, it still reports the error to the browser, but the session is created and the session value is saved.</span></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On , José Ronquillo <josrr@ymail.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv0595230283"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div
id="yiv0595230283"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><span id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_20">Hello again Faruk, I think the symbol *session* is not bound immediately after calling the function start-session, but the function returns it; this code works:</span></div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><span><br clear="none"></span></div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"><span></span><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14">(defun f
()</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"> (let ((username (hunchentoot:parameter "username"))</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"><span class="yiv0595230283Apple-tab-span" style="white-space:pre;"> </span>(session (hunchentoot:start-session)))</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"> (format t "session:~s~%" session)</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"> (setf (hunchentoot:session-value 'sessu session) username)</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"> (hunchentoot:session-value 'sessu session)))</div><div id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_14"><br clear="none"></div></div><div class="yiv0595230283yqt8445392566" id="yiv0595230283yqt75080"><div class="yiv0595230283yqt2240060031" id="yiv0595230283yqt97252" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue',
Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div class="yiv0595230283yahoo_quoted" id="yiv0595230283yui_3_13_0_ym1_8_1395344163701_16" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv0595230283yui_3_13_0_ym1_1_1395344163701_5452" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div class="yiv0595230283yui_3_13_0_ym1_1_1395344163701_5453" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, March 20, 2014 3:29 PM, Faruk S. Can <farukscan@gmail.com> wrote:<br clear="none"> </font> </div> <div class="yiv0595230283y_msg_container"><div id="yiv0595230283"><div><div dir="ltr"><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5455" style="font-family: tahoma, sans-serif; font-size:
small;">and with page.html:</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5456" style="font-family: tahoma, sans-serif; font-size: small;"><div class="yiv0595230283gmail_default">
<html></div><div class="yiv0595230283gmail_default"><body></div><div class="yiv0595230283gmail_default"><form action="/l" method="get"></div><div class="yiv0595230283gmail_default"><span style="white-space:pre-wrap;"> </span><input type="text" name="username" </input></div>
<div class="yiv0595230283gmail_default"><span style="white-space:pre-wrap;"> </span><input type="submit" </input></div><div class="yiv0595230283gmail_default"></form></div><div class="yiv0595230283gmail_default"></body></div><div class="yiv0595230283gmail_default">
</html></div></div><div class="yiv0595230283gmail_extra"><br clear="none"><br clear="none"><div class="yiv0595230283gmail_quote">2014-03-20 23:08 GMT+02:00 Faruk S. Can <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:farukscan@gmail.com" target="_blank" href="mailto:farukscan@gmail.com">farukscan@gmail.com</a>></span>:<br clear="none">
<div class="yiv0595230283yqt5550965335" id="yiv0595230283yqt82490"><blockquote class="yiv0595230283gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5460" style="font-family: tahoma, sans-serif; font-size: small;">no offense.</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5461" style="font-family: tahoma, sans-serif; font-size: small;">
I need help on hunchentoot session topic.</div>
<div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5462" style="font-family: tahoma, sans-serif; font-size: small;">whether I am doing a very simple mistake,</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5463" style="font-family: tahoma, sans-serif; font-size: small;">or there is an issue.</div>
<div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5464" style="font-family: tahoma, sans-serif; font-size: small;">I do not need do not send your code</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5465" style="font-family: tahoma, sans-serif; font-size: small;">and beg for help to solicit help</div>
<div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5466" style="font-family: tahoma, sans-serif; font-size: small;">as somebody has told days before</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5467" style="font-family: tahoma, sans-serif; font-size: small;">this is very basically should work as I am expecting.</div>
<div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5468" style="font-family: tahoma, sans-serif; font-size: small;">It is very simple.</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5469" style="font-family: tahoma, sans-serif; font-size: small;">to ensure installs are done:</div>
<div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5470" style="font-family: tahoma, sans-serif; font-size: small;">
<br clear="none"></div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5471" style="font-family: tahoma, sans-serif; font-size: small;">(ql:quickload '(:hunchentoot))<br clear="none"></div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5472" style="font-family: tahoma, sans-serif; font-size: small;">(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 5050))<br clear="none">
</div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5473" style="font-family: tahoma, sans-serif; font-size: small;"><br clear="none"></div><div class="yiv0595230283gmail_default yiv0595230283yui_3_13_0_ym1_1_1395344163701_5474" style="font-family: tahoma, sans-serif; font-size: small;"><div class="yiv0595230283gmail_default">(defun f ()</div>
<div class="yiv0595230283gmail_default"> (let ((username (hunchentoot:parameter "username")))</div><div class="yiv0595230283gmail_default"> (hunchentoot:start-session)</div><div class="yiv0595230283gmail_default"> (setf (hunchentoot:session-value 'sessu) username)</div>
<div class="yiv0595230283gmail_default"> (hunchentoot:session-value 'sessu)))</div><div class="yiv0595230283gmail_default"><br clear="none"></div><div class="yiv0595230283gmail_default">(push (hunchentoot:create-prefix-dispatcher "/l" 'f) hunchentoot:*dispatch-table*)<br clear="none">
</div><div class="yiv0595230283gmail_default"><br clear="none"></div><div class="yiv0595230283gmail_default">(push (hunchentoot:create-static-file-dispatcher-and-handler "/" "/Users/faruk/desktop/page.html") hunchentoot:*dispatch-table*)<br clear="none">
</div></div></div>
</blockquote></div></div><br clear="none"></div></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div> </div></div></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>