You want to pass an information (current time) from client to server, the best way it to pass it in URI. For example, using curl, you can do:
curl http://my_server/foo?my_info=bar Did I understand you correctly? SSI support has been removed since 5.0, the reason is that mongoose has way more powerful scripting capabilities with Lua. On Fri, Jan 10, 2014 at 2:41 PM, yana <[email protected]> wrote: > Hello, > > I am just new to mongoose and amazed with this very light server. I have > setup the mongoose on the embedded arm hardware connected to the network > and it works fine. :-) I can access the server from the client computer > through web browser. > > Now I would like to send the current client local time to the server using > SSI. I played around <!--#exec "date --set '2014-01-10 11:13:13"--> and > works ok but the date is hardcoded. I have read the mongoose manual and say > only the following SSI are supported. > > > - <!--#exec "shell command"--> Execute shell command. > > o <!--#include "path"--> File path must be relative to the > current doc- > ument. > > o <!--#include virtual="path"--> File path must be relative to > the doc- > ument root. > > o <!--#include file="path"--> File path must be the absolute > path. > > > Is there anyway way that we could get the client current time using SSI > tag? and pass it to exec tag such way the server will sync with the client > time? > > Best Regards, > Ian > > -- > You received this message because you are subscribed to the Google Groups > "mongoose-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
