VictorTrapenok/SimpleRedisClient

Hi, can you teach me how to make it work on cpoll_cppsp?

Opened this issue · 2 comments

Would like to make it work on http://sourceforge.net/projects/cpollcppsp/

Can you please provide the instructions on how to get it done for the latest 1.0 version? Thanks

I had not worked with cpoll_cppsp. But I would be interested to learn it. If I can, then give instructions.

This is my file index.cppsp. On my computer it works.

<%#
#include < iostream>
#include < unistd.h>
#include < sys/types.h>
#include < stdexcept>
#include < cppsp/common.H>
#include < delegate.H>
#include < iostream>
#include < iostream>

#include "SimpleRedisClient.h"
#include "SimpleRedisClient.cpp"

void init() {
doReadPost=true;
}

SimpleRedisClient rc;
rc.setHost("127.0.0.1");
rc = "cppspKEY cppspTest";

rc.get("cppspKEY");

%>

redis['cppspKEY]'= <%=rc.getData()%>

<%
rc.redis_close();
%>