How to obtain POST request parameters

Does anyone know how to obtain POST request parameters after form submit like we can get GET parameters after form submission via {module_url, parameterName}?

"garry.b" <[email protected]> wrote in
message
news:gnndbf$i2q$[email protected]..
> Hi,
>
> When using AS3 to generate an HTTP POST request:
>
> var service:HTTPService = new HTTPService ();
> service.url = "
http://localhost:9090/service";
> service.method = "post";
> // service.request = {itemId: "12345"};
> service.send ({itemId: "12345"});
>
> my CherryPy web server complains about unexpected body
parameters:
>
> HTTPError: (400, 'Unexpected body parameters: itemId')
>
> Using Firebug's Network display, its Post tab shows the
following content:
>
> Referer:
http://localhost:8080/log/log-1.0-SNAPSHOT.swf
> Content-type: application/x-www-form-urlencoded
> Content-length: 12
>
> itemId=12345
>
> which looks very strange to me as I would expect the
Referer, etc.,
> request
> headers to show up in the Request Headers section and
not as POST body
> content.
> While this could be some Firebug issue, I think the
request message is
> really
> formatted incorrectly. When the web server gets the
request, it does
> recognize
> 'itemId' as a body parameter but then complains that
it's unexpected.
>
> I've googled the error message, studied HTTPService
examples, spent
> several
> hours playing with it and am stumped. Tracy Spratt
suggested setting the
> service 'request' to force a POST and I tried it but am
getting the same
> error.
> How do I make a POST request? Can I get POST data into
the message body?
> Stick with URL parameters only?
What happens if you post to the same service using an html
form?

Similar Messages

  • Extracting Request Parameters from a POST.

    A client is POSTING some request parameters as part of its POST request.
    My servlet is getting this as part of the getInputStream.
    The contents of the inputStream received is:
    username=someUserName&password=somePassword
    Now how do I extract this username and password which is in the Body
    of the POST?
    I am trying request.getParameter("username")
    but am not getting the value of the username.
    Can some please help me as to how to get the request parameters?
    Attached is my servlet
    public class DeviceLocation extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doPost(request,response);
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    System.out.println("Servlet up and running...");
    InputStream requestInputStream = request.getInputStream();
    InputStreamReader isr = new InputStreamReader(requestInputStream);
    BufferedReader br = new BufferedReader(isr);
    String line = "";
    StringBuffer sb= new StringBuffer();
    while ((line = br.readLine()) != null)
    sb.append(line);
    br.close();
    System.out.println(sb.toString()); // display the input Stream
    // Display all the Request Parameters
    System.out.println("Request Method : " + request.getMethod());
    System.out.println("Host : " + request.getHeader("Host"));
    System.out.println("User Agent : " + request.getHeader("User-Agent"));
    } // End of servlet class.

    try doing it without reading in the requestInputStream first:
    public class DeviceLocation extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doPost(request,response);
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    System.out.println("Servlet up and running...");
    // Display all the Request Parameters
    System.out.println("username Parameter : " + request.getParameter("username"));
    System.out.println("Request Method : " + request.getMethod());
    System.out.println("Host : " + request.getHeader("Host"));
    System.out.println("User Agent : " + request.getHeader("User-Agent"));
    } // End of servlet class.

  • How to send parameters for POST request in AJAX?

    hi friends,
    I am sunil. I am working on ajax.
    My problem is how to send post parameters in AJAX.
    For GET request. I am using bleow and it is workin fine.
    var url = "GetCurrencyRateController?currid="+CurrId+"&lncurrid="+LnCurrID;
    For POST Requert i am sending as
    var url = "GetCurrencyRateController";
    req.send("currid="+CurrId+",lncurrid="+LnCurrID);
    but it is not working

    Check out the Apache HttpClient package and look for how to use the MultipartPostMethod.
    Here is some sample code:
                HttpClient client = new HttpClient();
                MultipartPostMethod filePost = new MultipartPostMethod("http://localhost:8080/MyApp/Push");
                filePost.addParameter("subName", sub.subName);
                filePost.addParameter("serverName", sub.getServerName());
                File file = new File("C:/dataFile.zip");
                filePost.addParameter(file.getName(), file);
                int code = client.executeMethod(filePost);

  • HTTP POST Request? How? Please Help!

    Hi maybe this is a simple question. But I was able to do a GET Request from an applet to an ASP page just fine but I am having problems with the POST Request. How do you do a HTTP POST and put the parameter on the post data?
    This is what I am doing:
    url = new URL(queryParam);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    // IS THIS CORRECT WAY TO ADD PARAMETER TO POST
    connection.setRequestProperty("name","javaguy");
    BufferedReader in = new BufferedReader( new InputStreamReader( connection.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
    System.out.println(inputLine);
    in.close();

    The setRequestProperty() method is used to add HTTP headers to the request. The way you pass "post" parameters is to send them as the body of the message in "application/x-www-form-urlencoded" form. In other words, create a string of URLEncoded "name=value" pairs delimited by '&', just like you would see in the URL when making a GET request through the browser:
    String paramStr = "name=javaguy&occupation=web+developer" ;
    byte[] paramBuf = paramStr.getBytes("ISO-8859-1") ;
    url = new URL(queryParam);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    // THIS CORRECT WAY TO ADD PARAMETER TO POST
    connection.setRequestProperty("Content-Length", Integer.toString(paramBuf.length)) ;
    OutputStream out = connection.getOutputStream() ;
    out.write(paramBuf) ;
    out.flush() ;
    out.close() ;
    BufferedReader in = new BufferedReader( new InputStreamReader( connection.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null)
        System.out.println(inputLine);
    in.close();Good luck!

  • How to obtain the house bank in the customer invoice posted by FB70?

    Hi All,
    Could anyone tell me how to obtain a certain house bank in the customer invoice posted by FB70?
    I've made a test. I've filled an house bank in master data of the customer (company data). When I've posted the invoice by FB70, i've expected finding it in the item.... instead it wasn't there...
    Cuold anyone help me?
    Thanks
    gandalf

    Dear,
    The House bank will not reflect in customer invoice, it is used in outgoing or incoming payments.

  • How to fire Chunked POST Requests.

    Hi,
    Can anyone please tell me how to implement a servlet which can fire chunked POST request to the server. I have tried implementing such a servlet but it does not send the request in a chunked format.
    Please let me know what headers should this POST request necessarily have ?? (Transfer-Encoding : chunked would be one).
    Thanks in advance.
    Saurabh

    This normally isn't my area, but I saw some code yesterday which looks like what you want...
    regards,
    Owen
    protected void process (final HttpServletRequest req, final HttpServletResponse resp) throws ServletException,
                java.io.IOException
          resp.setContentType("image/svg+xml");     // This is for SVG files only
          resp.setHeader("Transfer-Encoding", "chunked");
          // rest of code....
    }

  • How do I extract the BODY of a POST request?

    How do I extract the BODY of a POST request?
    Is this possible?

    Yes, this is true but why is it that after I use
    request.getInputStream() then request.getParameterValues()
    stops working correctly?

  • How to make to post request to WebService

    Hi,
    How can i invoke a http Post request to webservice url,The default test page does
    not mention any thing about this when a application is deployed as a webservice,It
    only talks about a soap client.
    I know that when a application is deployed as web service in .net ,we can invoke
    it using GET,POST or SOAP request,Is it now possible in the same way in JAVA webservices.
    If it is possible to invoke using POST please refer me a sample as how to invoke
    the URL.
    thanks
    Suresh

    Hi Suresh,
    Could you write a servlet filter that would scan the first few bytes
    looking for a soap header and if you have one, let it pass through and
    if not, then do your old style processing. This is just a suggestion.
    See: http://e-docs.bea.com/wls/docs81/webapp/filters.html
    Regards,
    Bruce
    suresh wrote:
    >
    Hi,
    I want to post a plain text and not one with soap headers to the webservice.
    The reason i am looking for this is ,right now all my code is java servlets and
    clients are making http post to my service,i am now moving this to webservice
    and all the clients might not be willing to migrate to making a soap request.so
    what i am looking at is that my webservice should be able to support soap request
    as well as plain http post without the soap headers.
    please provide u'r insights
    thanks
    suresh
    Bruce Stephens <[email protected]> wrote:
    Hi Suresh,
    We have a simple tool that is helpful, the
    weblogic.webservice.tools.debug.Post utility is used to read a file and
    to post the message. See:
    http://e-docs.bea.com/wls/docs81/webserv/trouble.html
    Hope this helps,
    Bruce
    suresh wrote:
    Hi,
    How can i invoke a http Post request to webservice url,The defaulttest page does
    not mention any thing about this when a application is deployed asa webservice,It
    only talks about a soap client.
    I know that when a application is deployed as web service in .net ,wecan invoke
    it using GET,POST or SOAP request,Is it now possible in the same wayin JAVA webservices.
    If it is possible to invoke using POST please refer me a sample ashow to invoke
    the URL.
    thanks
    Suresh

  • How to encode request parameters?

    Hi I'm running a small web application developed with JSP pages. But it turns out that it relies on cookies to maintain sessions, which is a limitation if the client's cookie setting disables cookies.
    I know that I could encode the request parameters and use GET method to communicate information between client and server, but have no idea how this is done.
    Can you give me some code, or recommend some tutorial to me? Thanks!

    1. If you don't want to use cookies, you could use URL rewriting to append the session ID. When you redirect to another page, do something like the following:
    a. first choose whether you want to forward or sendRedirect: (the following example is a redirect)
    //encode the parameter values to encode special characters, such as spaces
    String parameterOne = java.net.URLEncoder.encode("some value");
    String parameterTwo = java.net.URLEncoder.encode("some other value");
    //build the query string any way you want
    String queryString="?key1="+parameterOne+"&key2="+parameterTwo;
    /* Use response.encodeRedirectURL if running it through a sendRedirect.
       Doing so will rewrite the url with the session ID appended to the
       end. */
    response.sendRedirect(response.encodeRedirectURL("some.jsp"+queryString));This little code snippet demonstrates two things. It shows that URL rewriting can be used to append the session ID. It also shows you how to encode parameters (i.e. use URLEncoder.encode()).
    If you want to encode your string in the JSP, you could also do it using javascript:
    <script language="JavaScript">
    <!--
       //this is just an example javascript function
       function openPage() {
          var thisForm=document.formName;
          /* get your form element values (these are text boxes).
             Note: the javascript escape() function url encodes the values.
                   there are also other js functions to do this. */
          var paramOne=escape(thisForm.paramOne);
          var paramTwo=escape(thisForm.paramTwo);
          var queryString="?paramOne="+paramOne+"&paramTwo="+paramTwo;
          window.open("some.jsp"+queryString,"some_window_name");
       }//end openPage
    //-->
    </script>Or, you could build it using JSP expressions and scriptlets. Its really up to you. These are just rudimentary examples to help you get started.

  • How to Record HTTP Requests and POST data

    Hai all..
    Can anyone help me to solve this issue..
    How to Record HTTP Requests and POST data by using java..
    regards
    Ranjith Nair

    You should read about TCP and splitting data stream into packets and learn how to understand packet header to assemble stream from packets.
    Actually there are few different stages:
    1. detect handshake to start new empty stream within your code;
    2. detect subsequent packets and assemble stream (there are counters within packet header and they will help).
    After creating start of TCP stream (usually 1KB is enough) you'll be able to detect is it HTTP request/header or no and start logging or ignoring packets for this connection.

  • How to send POST HTTP Request through PI .

    Hi ,
    I am trying to send a XML mesage at HTTP server from SAP PI 7.1 .
    but not able to , reason is HTTP guy telling me is that ,i am sending a get request through SAP PI 7.1 and it should be POST.
    Where to change this this thing , so that only post request should go.
    There is one more thing , i am facing following request only in Quality . In Development request is going as Post and every thing running fine ...
    Regards
    PS

    It was always HTTP from our end , some config was missing at HTTP guys end , which solve the problem ..
    So there was no issue at PI end.

  • Page Expire - How to keep in cach from post request !!!

    I have a big problem with the back button resulting in Page Expired message. The system framework is to call servlets from any page. A servlets will perform necessary computations and forward the request with additional objects to a jsp page, which will in turn construct the page and display it to a user. Some of the constracted pages have back button, which simply redirects to the previous page.
    The problem that I have has been described in multiple forums before, but still appears to be not solved. When I press the back button that shall display previous page, generated by the Post request, I get Page Expired message. Note that this occurs only in IE (I am using 6.0 with SP1) and not in Mozilla (I am using 1.3). I did my homework and tried the following code in different combinations, but unsuccessful:
    resp.setHeader("Cache-Control", "public");
    res.setHeader("Pragma", "Cache");
    res.setHeader("Expires", "Fri, 30 May 2003 12:00:00 GMT");
    or directly in jsp page
    <META HTTP-EQUIV="Pragma" CONTENT="cache">
    <META http-equiv="expires" CONTENT=" Fri, 30 May 2003 12:00:00 GMT ">
    None seems to work in IE. It appears that the IE refuses to cache the page generated by the post request at all times.
    The application that I am working is huge and this is a big problem for us, we need to support IE with back buttons.
    Please help.

    I believe this is a requirement of the HTTP
    specification.Yep - section 13.10 for anyone who can't sleep. I believe the idea is that methods such as POST, PUT and DELETE cause an update at the server and so caching makes no sense - the client needs to view a new copy.
    To quote the spec:
    Some HTTP methods MUST cause a cache to invalidate an entity. This is either the entity referred to by the Request-URI, or by the Location or Content-Location headers (if present). These methods are:
    - PUT
    - DELETE
    - POST

  • WHY? Request Parameters From Form are NULL

    I have the following process, which by the way has been working successfully for months, until just recently.
    1) User comes to JSP page to upload images through a form that has the <input type="file"> fields as well as <input type="hidden"> to hold a few essential values.
    2) User submits form, form action attribute set to go to a Servlet
    3) Servlet reads all request params and inserts the images into a database.
    I have code to read in the images...I use classes from the org.apache.commons package.
    I could only assume it was the servlet that was the problem, but doubted that because why would it work all these months than suddenly stop.
    I set up a test html page with a form and had it go to a jsp page to read the request params and print them out. To my suprise they all had NULL values.
    Which tells me that the params aren't being read from the form.
    How could this be??
    Here is some example code snippets from my test pages:
    HTML PAGE
    <html><body>
    <form name="images" action="testing_operations.jsp" enctype="multipart/form-data" method="post">
    <input type="hidden" name="Customer_Number" value="4750">
    <table>
    <tr><td>
    <input type="file" name="image1" />
    </td></tr>
    <tr><td>
    <input type="file" name="image2" />
    </td></tr>
    <tr><td>
    <input type="submit" value="submit">
    </td></tr>
    </table>
    </form>
    </body>
    </html>JSP PAGE
    String cus = request.getParameter("Customer_Number");
    out.println("cus : " + cus +"<br>");
    String image = request.getParameter("image1");
    out.println("image: " + image); 
    I'm stumped...what am I doing wrong?
    I can't continue until I get this figured out, can anybody help me with this?
    Message was edited by:
    Love2Java

    I ran my original app with the enctype and without it:
    the tomcat dos-prompt that shows exceptions lists out this below...
    org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed.
    C:\jakarta-tomcat\temp\upload_00000009.tmp (The system cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
    at org.apache.jsp.testing_operations_jsp._jspService(testing_operations_jsp.java:113)The code on line 113 in testing_operations.jsp is:
    List items = upload.parseRequest(request);
    and what is this .tmp file its trying to find?? I'm passing it an image off my local disk, not a .tmp file, there isn't even a temp folder in my jakarta-tomcat main folder....
    It is failing on this line because it isn't reading the request parameters sent in, thus why too when I test for the values of the params they return null.
    True, when I take out the enctype my test page will show the values, but this doesn't help me. I need that enctype attribute in there to process the images sent in through the fields.
    So where does this leave me??
    I went to the apache site for the commons upload and they have a more current version than what I'm using which is version 1.0, they have 1.1.1
    I downloaded the new version but had no success in using it, the compiler couldn't find a class I attempted to use.
    I still don't understand how this could be working and then suddenly stop.

  • How to obtain the row data in the component datatable?

    if I want to edit a row data, and then know which row is edited in the component datatable, and how to do?
    How to obtain the row data in the component datatable, and update it to database, not simplely edit a simple table
    Any ideas? Thanks

    Thank you very much for your help Alexander !
    It's quite confusing when you leave Struts and try to adapt your projects for JSF for the first time...
    I wanted to click on a row with a "onMouseClick" on the TR tag like I used to do in Struts/JSTL. But it seems to be impossible in a dataTable.
    Ok then. I've added a column at the end of the row with an icon.
    But eventually I didn't need to declare link parameters.
    In my BackingBean I did like this :
    public String selectEventForUpdate() throws IllegalAccessException, InvocationTargetException {
            PortletAgenda event = (PortletAgenda) JSFUtils.getInRequestMap("event");
            BeanUtils.copyProperties(this, event);
            return null;
       }JSFUtils.getInRequestMap(...) is a method I wrote in a util object :
    public static Object getInRequestMap(String name) {
            Object res = null;
            Map requestMap=FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
            if (requestMap!=null) {
                res=requestMap.get(name);
            return res;
    }  " event " is the name of the item in my dataTable list.
    My backingBean has the same attributes as "event".
    So when the page is reloaded I have a backingBean full with the selected properties to edit/update.
    Thanks to your reply I realized that putting this form in the middle of the dataTable seems to be impossible.
    So I put this form in a floating DIV in front of the table with a shadow.
    It works :o) !
    But I'm a little bit disapointed to be honest...
    I used to build my web applications with Struts and JSTL and doing this kind of interface was really easy.
    I've decided 3 days ago to convert into JSF because the "GUI Layer" seemed to be improved.
    But now I realize that I cannot put a onMouseOver and onMouseClick on a row and I cannot display a different row in the middle of a table....
    I think it's a shame because there is a facet for header and footer.
    And it would be great if we could create our own personal facet that appears only if a condition is true.
    For exemple " if the current item id is the same as the request parameter id then display the following facet content ....... (with a panel group and a form inside to update the row) "
    It's easy to do that with JSTL thanks to c:forEach and c:if but it seems to be impossible to use JSTL tags like this during the dataTable iteration.
    And JSF tags seems to have no logical tags like " if " or loops that can be nested in dataTable.
    I really need to realize this interface (you click on a row then an edit form appears where you clicked).
    Do I have to write a component myself that extends dataTable?
    Do you know if writing such a component is hard to do for a beginner like me?
    (I've juste discovered JSF 3 days ago and I've used Struts/JSTL for 2 years til now)
    I'd be glad to have much advices from you about that.
    Regards

  • Truncated POST requests in IE 10 - In Response to NTLM Authentication

    In Internet Explorer 10, the browser is incorrectly truncating HTTP POST requests and submitting unsolicited NTLM negotiate headers with a  HTTP Content-Length of Zero Bytes.  This results in HTTP POST parameters failing to be submitted to the
    server.
    Assume the following web application with a context root of:
    https://w3.someapplication.net/webapplication/
    Secure cookies for this site are established at the context root of this application.
    To reproduce this issue, a secure session is established at a protection space deeper than the root context of the web app:
    https://w3.someapplication.net/webapplication/secure/login
    After establishing a secure session with the web application, some client side artifacts are retrieved from a web proxy at a higher protection space:
    https://w3.someapplication.net/webapplication/somejs.js
    Subsequent HTTP POST requests to a deeper protection space will result in IE incorrectly attempting to pass an unsolicited NTLM negotiate header to the server side, and the HTTP POST request will be truncated with a Zero Content-Length header:
    https://w3.someapplicaiton.net/webapplication/submit/form
    The result is that the HTTP POST parameters submitted to the last URL will be lost.
    This is reproducible against IE6 and IE10.  It does not reproduce against IE8, or any non-Microsoft browser which all behave in a sane manner. 
    My Questions:
    Why is IE behaving this way?
    What can I do to make IE behave properly?  Please don't suggest that I change the entire structure of my company's website to overcome this kind of silly bug in IE.
    Is there a planned fix to correct this behavior back to the proper implementation observed in IE8?
    Additional details about this problem are documented by an IE Internals blogger at the following url:
    http://blogs.msdn.com/b/ieinternals/archive/2010/11/22/internet-explorer-post-bodies-are-zero-bytes-in-length-when-authentication-challenges-are-expected.aspx
    Michael

    Yes, I have read that blog post in detail.  All of the comments from Microsoft on this issue suggest making intrusive changes to the web application side to work around this "optimization".  This is not an acceptable answer.  This
    is clearly a bug in IE.  Evidence to support that this is a bug is that the behavior within IE's own browsers is not consistent; IE6 and IE10 will reproduce this issue, IE7 and IE8 will not. 
    I don't understand your suggestion; "ensure all paths are configured to require authentication".  This is not a reasonable expectation for any normal web app.  Our application does require authentication on all paths. However, when the first
    authentication request goes through, a HTTP Session is established.  Any subsequent request to that domain will not and should not be re-authenticated.  IE making assumptions about the authentication requirements of a server side application is incorrect.
    Further, even if i did re-challenge the browser for credentials on every path, regardless of whether a session is established or not, how would I handle the requirement to serve client side artifacts from a web proxy within that secure domain?  Am I expected
    to force my web proxy to require an NTLM header to serve up a CSS file?  That is just silly.
    You also suggested that my application might be incorrectly returning a 401.  I can assure you, that is not the case.  The flow is this:
    Perform a signon to the application and retrieve some client side artifacts required by the splash page
    https://w3.myapp.com/some/app/path?query=string
    401 + www-negotiate response header
    https://w3.myapp.com/some/app/path?query=string
    browser provides a ntlm token, user is logged in, session is started
    https://w3.myapp.com/some/file.js 200 response code, no challenge from the server side
    Splash page is loaded; user submits a POST request
    https://w3.myapp.com/some/app/path POST request fails because IE truncates the request and attaches an NTLM negotiate header with Zero Byte content length.  This is an unsolicited negotiate header from IE.
    Honestly, it really irritates me when people suggest we should change our entire application structure to accommodate IE bugs or "features" that are completely outside of the HTTP spec. I understand RFC4559 states that a browser MAY initiate a request
    to a server which includes an unsolicited negotiate header, but it doesn't say anything about truncating the contents of that request. 
    No other browsers exhibit this behavior, and even the behavior within Microsoft's own product is not consistent.  It is insanely frustrating as a web developer trying to deal with all of IE's little nuances. 
    Is there anyway this can be turned off via a registry entry?  Is there any plan to fix this in a future release? 

Maybe you are looking for

  • How can I unlock iPhone 4

    Hello, I recieved my Iphone 4 as a gift in 2010 from my father who bought it in Dubai, we live in South Africa. It worked fine in the beginning but has become nothing more than an expensive iPod. I know everyone asks but seeing as i see no way to con

  • XSL and carriage return problem

    I'm using an HTML form to get the input text from the user. The text is stored in an XML file and after that I use XSL transformation to show the text as HTML file. The problem is with carriage returns that user has entered. In HTML file I see &#13;

  • How to make the selection screen field names to apper as in logon language

    hai the selection screen field names should appear as that of logon language and <u>before that once i logon with a language it should pop up the (some)message in the logon language</u>. For the selection screen filednames to appear as that of the lo

  • Jobs are failing and give dump "TSV_TNEW_BLOCKS_NO_ROLL_MEMORY"

    Hi , Jobs are failing and giving dump "TSV_TNEW_BLOCKS_NO_ROLL_MEMORY " and TSV_TNEW_PAGE_ALLOC_FAILED. Here are the logs: =================================================================== 15.04.2009 07:11:35 Job started                            

  • Record Logic + all input live in SoundTrack pro (or other?)

    Hi All, I would like to record (into soundtrack pro) live sessions using logic and some inputs from the sound card. So of course the best way to do this would be to record all into logic and bounce the file but my live sessions are based on a cycle o