Memory leak caused by json rpc
MySQL 8 build fixes
Updated once more
More url fixes
Fixed name in a handling to support toc
wikipp compilation error
I tried to post that this issue was solved. Many thanks to anonymous good samaritean who pointed me to the problem. Please close this since it is not a bug. cheers!
That was the problem. Thanks to the anonymous good samaritean we clarified this was on my side and not a bug. Please close this case. Thanks again!
You are missing msgfmt - it is present in gettext package
wikipp compilation error
for use of cppcms with meson
minor fixes to the cppdb test.
add cppcms.pc to allow build with ninja
Compile error in std::pair serialization.
NoSQL Connectivity
More user friendly for beginners
Why does my CppCMS application not run with FastCGI configuration?
how to load an .png file to browser using content.h of cppcms
Session don't work
From your partial "sample" it seems that modifing session is the last thing you do. You can't change session values once output was generated: once you call response().out() - all headers (including session data) are generated.
This is my sample code, class hello : public cppcms::application { public: hello(cppcms::service &srv) : cppcms::application(srv) { dispatcher().assign("/login.php", &hello::login, this); dispatcher().assign("/mango.php", &hello::mango, this); dispatcher().assign("/apple.php", &hello::apple, this); } void login() { if (request().request_method() == "POST") { ........ ....... ........ session()["name"]=username; std::cout << session().is_set("name") << std::endl; //it shows 1 } } void mango() { std::cout...
Session don't work
404 for external css and js files
Thank you very much for this detailed bug report with accurate directions of fixing it. It was resolved in changeset 9f58f3822f355b48f33e45a7922c13269569f94b at github / master Feel free to reopen if anything is still wrong.
Bug in multipart_parser.h, parse_pair
I found this bug when POSTing a file using C#'s HttpClient (so the only example I have is C# code). If it's any use, here it is. The way this is set up, the Content-Disposition's name="works" will parse correctly (it's quoted) but the filename=fails will not (it's unquoted). I compiled this against .NET 4.0. Thank you. using System; using System.Net.Http; namespace CPPCMSTest { class Program { static void Main(string[] args) { using(var client = new HttpClient()) using(var content = new MultipartFormDataContent())...
I used the following code to test CPPCMS: #include <cppcms/service.h> #include <cppcms/applications_pool.h> #include <cppcms/application.h> #include <cppcms/http_request.h> #include <iostream> #include <string> class Application : public cppcms::application { public: Application ( cppcms::service & service ): cppcms::application(service) { } virtual void main ( std::string url ){ std::cout << "Request for " << url << std::endl << " Uploaded file count " << request().files().size() << std::endl; };...
Can you provide exact example so I can debug it?
Bug in multipart_parser.h, parse_pair
add cppcms support to https
It is onthe roadmap: http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#CppCMS.1.4.0 No need for ticket
add cppcms support to https
IDE for cppCms and DELETE and POST methods
CppBlog can not load imageMagick++/GraphicsMagick++ when cmake build