NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Thomas

Pages: [1] 2
1
Web Server - Ask For Help / need urgent help "download name" please
« on: April 29, 2008, 05:46:49 AM »
Hello,
it is really urgent. The User of the prog must download exe files. I want the Browser to ask the user for executing or downloding. I know it's the browsers decision what to do with the file to be downloaded.
Problem: the name of the download procedure is exposed to the Client, not the exe name and thus the option "execute" is missing. The file downloads correctly but as I said it has the name of the procedure. If I rename it to exe everything works well.
Any help apreciated.
TIA, Thomas.

2
Web Server - Ask For Help / wrong download name
« on: April 27, 2008, 06:03:19 AM »
Hello,

I have a download button in my App. The Client klicks on it and will be asked by the Browser to download the file or to search for a program to open it. The download works.

My problem is: the Browser shows the wrong filename in the dialog ! My download files are Exe's (I tweaked ValidateFilename - as I said it works). So the options in the Browser Dialog should be "download" or "execute". The name presented by the Browser is the procedure name of the Netwebpage procedure (also ServeDocument in my case). That means after downloading I have a file named ServeDocument without any extension. After renaming to ...exe it is executable.

How and where do I set the filename presented by the browser ? (... in _SendFile or so)

TIA, Thomas

3
Web Server - Ask For Help / Re: Range limiting - how ?
« on: April 27, 2008, 02:37:49 AM »
Hi Gregg,
thanks.... slowly I got the whole picture.
Best regards, Thomas

4
Web Server - Ask For Help / Re: I'm lost with Logout
« on: April 23, 2008, 05:41:51 AM »
Cool, many thanks !
(I'm sorry for lots of dumb questions - I have a deadline on Friday for a web based project, I'll show them a working example...)

additional questions to this:
1. I think the user remains after re-login within the same session... Can I "FREE" the session queue with one single method call ? Do I need other kind of housekeeping in this case ?

2. I have a Exit Button with 'javascript:top.close()'. How (and where) can I kill the Session before. I observed that after restart of the client some variables are not empty. I had to close/reopen the Webserver instead. In general: what is killing a Session - closing the Client App, closing the Browser, only closing the Webserver itself ?

TIA, Thomas.

5
Web Server - Ask For Help / I'm lost with Logout
« on: April 22, 2008, 11:34:25 PM »
Hello,
please I need help !

my users sometimes must logout from the App und re-login with another account. I have a Logout button in a frame wich reloads the Login Page via URL call. The Relaunch of hte LoginPage works fine. But where to place the logout code ? And how to clear the Login Vars (have always the content of the previous Login) ?
 p_web.SetSessionValue( 'Loc:Login', '')
 p_web.SetSessionValue( 'Loc:Password', '')
 p_web.DeleteSessionValue( 'loc:login')
 p_web.DeleteSessionValue( 'loc:password')
 p_web.SetSessionLoggedIn( false)
 p_web.DeleteSession()
I tried a lot of places, I thought %CustomValidateEnd of the Logout Button would be correct... I cleared and SetSessionValue to '' or DeleteSessionValue immediatly after a successful Login would clear the Login Vars for a Relaunch... no it doesnt.

Any help appreciated.
TIA, Thomas

6
Web Server - Ask For Help / Range limiting - how ?
« on: April 22, 2008, 02:03:07 AM »
In NetWebBrowse Settings - Filters I can have Range limiting. I have done this with "Single value" to a local variable with an initial value. But the browse is empty (ok, there are recs with that value in the table !). Any special settings that I might have overlooked ?

My goal: I habve a table with lots of recs and want to display only a few wich belong to a currently (session) logged in user. The above mentioned local var holds the ID of the logged in user. The next step will be the passing of the ID from the Login page to the WebBrowse.

But at first: how to range limiting a large TPS table to a single value (hte table has an appropriate key) ?
TIA, Thomas

7
Web Server - Ask For Help / Re: no Frame Border
« on: April 22, 2008, 12:52:56 AM »
Thanks Bruce,
now the border is visible. But no matter what I set in "Allow Resizing" all the frame borders are resizable.
TIA, Thomas.

8
Web Server - Ask For Help / Re: PNG on Button problem
« on: April 22, 2008, 12:49:19 AM »
Ok - solved, I was mislead...
I looked at the Accounts(31) example and build my own buttons in the very same way. In Accouunts(31) the Buttons type is shown as "Submit", hence the problem in my project. The generated HTML for ym button was a <input... After changing the Type to "Button" everythings works well, even PNG's are displayed.
Strange thing anyway, the display of "Submit" as type in the Accounts example.
Regards, thomas

9
Web Server - Ask For Help / Re: PNG on Button problem
« on: April 21, 2008, 10:26:52 PM »
Hi Mike,
double checked before posting ;-)
regards, Thomas.

10
Web Server - Ask For Help / PNG on Button problem
« on: April 21, 2008, 02:40:46 PM »
Hello,
in my own projekt I put a Button on a webform. The button has a text and a PNG image. The image is one of the images of the Accounts(31) example - customers.png.
It is displayed correctly in Accounts example - but not in my own project. What I'm doing wrong ? (IE 7 on Vista, NT4.30)
TIA, Thomas

11
Web Server - Ask For Help / Re: no Frame Border
« on: April 20, 2008, 10:38:38 PM »
sorry, forgot to mention: using 4.30

12
Web Server - Ask For Help / Re: WebBrowse with nested JOIN's
« on: April 20, 2008, 10:36:39 PM »
yeah... meanwhile I found your Accounts example wich helps a lot.
thnx again, Thomas.

13
Web Server - Ask For Help / Re: no Frame Border
« on: April 20, 2008, 10:35:02 PM »
... I run my tests with IE 7 and 6 !  No frame border. Now I'm putting a 100% 1x1 table with table border in every frame, but it looks a little ugly.

14
Web Server - Ask For Help / Re: Methods desciption
« on: April 20, 2008, 10:31:20 PM »
The really interesting doc is how the methods fit together, and how the code "flows" through your program, and that's also on the "to do" list.

exactly this is what I'm going to catch now by myself. In that process is it sometimes usefull having a short description of a method.
thnx Bruce.

15
Web Server - Ask For Help / no Frame Border
« on: April 20, 2008, 07:51:13 AM »
Hello,
I ticked the "Frame Border" setting on but the borders remain invisible. What I'm, doing wrong ?
TIA, Thomas.

Pages: [1] 2