Hi,

I have two problems with my webkit - app:

1. I use the SecurePage + LoginPage from the examples. I made a logout
   - link which calls http://path-to-my-app/Main?logout=1. SecurePage
   directs me to LoginPage, I log in, but because the URL includes
   still the query string ?logout=1, I again get redirected to the
   LoginPage. So, how to get rid of the query string.

2. I want to let he users listen to on the fly generated wav -
   files. I�m using the _action_ - mechanism, and in my callback I
   am converting a file to wav (works) and it gets saved to /tmp. But
   how do I get this file to the client? I tried to set the
   Content-type and Content-disposition as described in the webware
   wiki, and then sending the file via self.write(), but when the file
   arrives It can�t be played, and when I download it, I get a much
   bigger file than on the server which starts:

   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
        <title>Answering Machine</title>
        <link rel=stylesheet href=homepage.css type=text/css>
</head>
RIFF<E4><D3>^B^@WAVEfmt^P^@^@^@^A^@^A^@@^_^@^@<80>>^@^@^B^@^P^@data<C0>

   and so on, and nothing is played. Any hints?

   I also tried the embed and object tags, but this didn�t help.

Greetings, Christoph

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to