tag:blogger.com,1999:blog-8768401356830813531.post7152417088269234032..comments2016-08-22T13:39:21.143-04:00Comments on Software Simply: HAppS Demomightybytehttp://www.blogger.com/profile/15198998578494149797noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8768401356830813531.post-71860825993916537272008-08-28T07:15:00.000-04:002008-08-28T07:15:00.000-04:00Well the links initially posted no longer work -- ...Well the links initially posted no longer work -- I think my server ip changed or something changed, can't remember.<BR/><BR/><BR/>However the ideas were incorporated into a demo that can be viewed at <A HREF="http://www.happstutorial.com:5001/" REL="nofollow">happs tutorial</A>. Much of the code there is based on what I found here, though by now extensively tweaked.<BR/><BR/>This demo is also installable via cabal as is explained in one of the early pages of the tutorialtphyahoohttp://www.blogger.com/profile/14901974150950864803noreply@blogger.comtag:blogger.com,1999:blog-8768401356830813531.post-32958563684866408042008-03-05T02:09:00.000-05:002008-03-05T02:09:00.000-05:00with your permission, I put your happs sample app ...with your permission, I put your happs sample app into my google project hosting account at <BR/><BR/><A HREF="http://code.google.com/p/happs-tutorial/source/checkout" REL="nofollow">happs tutorial</A><BR/><BR/>where I hope to work on it further, perhaps in collaboration with you or others who would like to flesh out the skeleton.tphyahoohttp://www.blogger.com/profile/14901974150950864803noreply@blogger.comtag:blogger.com,1999:blog-8768401356830813531.post-8563177830809511062008-03-03T13:08:00.000-05:002008-03-03T13:08:00.000-05:00Ok, two feature requests.1) logout2) actual email ...Ok, two feature requests.<BR/><BR/>1) logout<BR/>2) actual email authentication (happs sends you an email with a link, you click on it, your email is authenticated.)<BR/><BR/>ps<BR/><BR/>3) profit :)tphyahoohttp://www.blogger.com/profile/14901974150950864803noreply@blogger.comtag:blogger.com,1999:blog-8768401356830813531.post-45503285331609930642008-03-03T13:01:00.000-05:002008-03-03T13:01:00.000-05:00Yes, that session persistence is a feature. Two t...Yes, that session persistence is a feature. Two things cause that. First, because Session is in HAppS state, it is persisted across server restarts. Second, this app creates a cookie that does not expire. If either the recorded session, or the session cookie went away, it would be the same as logging out.mightybytehttp://www.blogger.com/profile/15198998578494149797noreply@blogger.comtag:blogger.com,1999:blog-8768401356830813531.post-48573114847049605222008-03-03T12:56:00.000-05:002008-03-03T12:56:00.000-05:00I've noticed that if you reboot the app, when it c...I've noticed that if you reboot the app, when it comes back up whoever was logged back in before it went down stays logged in. Not sure if this is a feature or a bug.<BR/><BR/>Apropos, thanks for your directions on how to get a happs app to start automatically on reboot. Snipping from your private communications... <BR/><BR/>cp /etc/init.d/ssh /etc/init.d/happs-app<BR/><BR/>edit that to do the right thing with Main.exe executable.<BR/><BR/>install it into the linux init with<BR/><BR/>sudo update-rc.d happs-app multiuser<BR/><BR/>this is all following the docu at <BR/><BR/>http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3<BR/><BR/>(Works at least for deb/ubuntu.)<BR/><BR/>(For what it's worth: I'm the guy that donated my server for the demo, so both mightybyte and I are running on the same box.)tphyahoohttp://www.blogger.com/profile/14901974150950864803noreply@blogger.com