Re: [Cppcms-users] Can't jump to another page from server side
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-01-08 07:49:39
|
1. Are you sure you call response().set_redirect_header(...) beforeyou call response().out()? Because this is likely the reason it may not work. 2. Show me the code :-) 3. Small example that reproduces the problem. 4. What is the web server you are using, what protocol? (some web servers like nginx, do not handle Status header properly over SCGI protocol). Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ >________________________________ > From: 陈抒 <csf...@gm...> >To: cpp...@li... >Sent: Sunday, January 8, 2012 9:30 AM >Subject: [Cppcms-users] Can't jump to another page from server side > > >Hello, > I tried response().set_redirect_header(...) function ,but it doesn't work. > If one user registers his/her account into my web site successfully,the page will jump to user's home page automatically. >陈抒 >Best regards >http://blog.csdn.net/sheismylife > >------------------------------------------------------------------------------ >Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >infrastructure or vast IT resources to deliver seamless, secure access to >virtual desktops. With this all-in-one solution, easily deploy virtual >desktops for less than the cost of PCs and save 60% on VDI infrastructure >costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |