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.


Topics - Wolfgang Orth

Pages: 1 ... 4 5 [6]
76
Just in case we once get asked....

Its not only a webserver issue, but this forum was the topmost to click on ;-)

thx
Wolfgang

77
Web Server - Share Knowledge / Custom error-pages
« on: September 19, 2010, 05:13:56 AM »
Hello all,

as shown in Example ErrorPage (32), you make your own errorpage.

Here is a gallery of 10 nice ones:

http://www.spiegel.de/fotostrecke/fotostrecke-59490.html

I also like this cute one - poor server: http://www.miskatonic.net/bribbel.html

You can do, as shown in the example 32, add the HTML-construction for this errorpage into the embed, of course.
But you also could use Winevent or Stringtheory (formerly part of OddJob) to read an entire file into a variable.

That means, you can create a complete, real existing HTML page, based on your main page of this server and put some descriptive 404 text on it.

I recommend to have this customized errorpage having the main menu, so the user can easily find to some other pages of your site, without being frustrated and needing to click back.

HINT: make sure, you have this line in the HTML-header:

<base href="http://www.your-address.com">

That base makes sure, that the errorpage can be found, even if the missing of that page happened in some sub/sub/subfolder:

http://kik4.odata.de/this/page/does/not/exist/

If you have made your own errorpage, how about sharing it here?

bye
Wolfgang

78
Web Server - Ask For Help / Don't know whom to blame...
« on: July 18, 2010, 06:47:33 AM »
Hello Bruce and all others,

after playing with a webserver, just modifying the picture properties of date and time on the webserver-window (below that statistics list) I recompiled the app and got 306 errors!

I have added "screenshot_doubledots.png" to this posting.

After some wild guessings, I went to the webserver extension, Buttons-tab, checkmarked all buttons, recompiled and the errors were gone.
Went back, unchecked all buttons, recompiled and again the app runs fine.

Strange behavior, just wanted you let to know.

[attachment deleted by admin]

79
Web Server - Ask For Help / German umlauts gone wild in EIP
« on: March 06, 2010, 02:22:59 PM »
Hello all,

in a browse with EIP the german umlauts look very wierd after the data are stored and the page is loaded a second time the other day:

Ä  turns into  Ä

֠ turns into ö

Ü turns into  Ãœ

Datatable is TPS


This is the unchanged setting in the generated page:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


No handcode, plan vanilla generated stuff.

Did I forget to do a specific setting?  ???

Thanks for any input,
Wolfgang

80
Web Server - Ask For Help / Virtual URL for Downloads
« on: September 15, 2009, 09:17:45 AM »
Hello all,

is it possible to have a "virtual URL" to download a file from?

The idea is to offer a download-link, which is not really existing, sort of.

A visitor gets to a form, enters some data like a code or his name or anything alike, then he gets pointed to or gets offered a download-link, which ought to be unique for this moment.

This means, a visitor, of course, could save that URL and pass it to someone else, but it wouldn't work there. Something like www.server.com/YxPpTtGgNnUuEeWw/FILE.ZIP



The other idea is to generate a sessionvariable, like TODAY() & CLOCK(), and passing this as parameter.

And only when the parameter = sessionvariable the download starts.

This would work, but the user still could slip by and type the URL to fetch the ZIP.


Then I found p_web._SendFile( filename, header).

This can be called in a webpage where you need to be logged in, which can be achieved automatically with parameter = sessionvariable. And it works fine, as long as the file that gets sent, is a non-binary file. My ZIP is also handled as non-binary, the screen is spilled over with special characters...

Is p_web._SendFile() the appropriate method at all?

What would be better?


I hope my description was not too clumsy.



PS: p_web._SendFile( filename, header) - if filename is relative, it needs to be relative to the EXE, i.o.w. './web/file.zip'.  Just for info if you plan to use it yourself.

81
Hello all,

in the past days I have played a bit with SSL for a Webserver and it seems to work fine so far. 

My intention is to use SSL also with a SimpleServer. But while HTTPS and the padlock is shown when using SSL ona webserver there seems no visible indicator to ensure me that it works.

Do I simple have to trust because if it is not SSL then it would not work at all, so if it works its secure.... or is there no possibility to proof SSL being at work?

thx
Wolfgang

82
Another long question for a short answer:

We have a NetSimple-Server, permanently connected with dozends of NetSimple-Clients over the internet.

Once in a while a message is sent from the server tothe clients and a window pops up. Typical messenger... but one-way from Server to Client, works flawlessly.

New demand: sometimes there will be offered a file to be downloaded (PDF)

Is this d/l-scenarion possible with this existing NetSimple-Server/Client-Combo

or

does such a download require a WEB- / FTP-Server solution instead of NetSimple-Server.

Is the existing NetSimple-Client able to download from a WebFTP-Server or is a separate WebClient necessary?

I hope I described my intention clearly and precise.

Thanks in advance,
Wolfgang

83
FTP - Ask For Help / .ChangeDir()
« on: August 27, 2007, 12:39:32 PM »
Hello folks,

this is from the Nettalk.tpl.

BreakInDirToQ routine
  data
RLoc:y      long
RLoc:z      long
  code
!-- This routine makes a queue out of the subdirs where to place the logfiles.
!-- This is only necessary when the directory does not exist and needs to be created.
    RLoc:y = 0
    loop
      RLoc:z = RLoc:y + 1
      RLoc:y = instring('/',%FTPGroupPar.FTPDir,1,RLoc:z)
      if (RLoc:y = 0) or ((RLoc:y > instring('\',%FTPGroupPar.FTPDir,1,RLoc:z)) and instring('\',%FTPGroupPar.FTPDir,1,RLoc:z)) then
        RLoc:y = instring('\',%FTPGroupPar.FTPDir,1,RLoc:z)
      end
...

What makes me wonder is why there is  instring('/', but later its instring('\',,

I am just curious ;-)

Wolfgang


84
Hello all,

I have a form that gets called from a normal webpage using a simple URL, its not called from a NetWebBROWSE.

The only intended action is INSERT.

How / Where do I tell this form that its task is to insert?

I suppose I do it like this:

 p_web.SetSessionValue('MYFORM_CurrentAction',InsertRecord)

but if so, in what embed?

Thanks
Wolfgang

Pages: 1 ... 4 5 [6]