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 - peterH

Pages: 1 ... 24 25 [26] 27
376
Web Server - Ask For Help / Re: Net:f:filename - Norwegian characters
« on: March 31, 2011, 06:11:18 AM »
Hi Frode,

You may know this already, but in case you have a need to enter text directly on a page (using the Xhtml tab) you must encode special chars - and æ,ø,å are considered special in this respect. The html encoding for æ,ø,å is:

æ
ø
å

Peter

377
Web Server - Ask For Help / Wrong C6 version on mirror site
« on: March 24, 2011, 08:07:54 AM »
If you download the C6 version from the mirror site you'll get 5.15!
Capesoft site is ok.

Just so you don't waste your time.

Peter

378
Web Server - Ask For Help / Re: Cookies or not
« on: March 17, 2011, 12:14:25 AM »
Thanks for clarifying, Bruce. I like your attitude  ;)
Peter

379
Web Server - Ask For Help / Cookies or not
« on: March 16, 2011, 09:57:48 AM »
Hi Bruce,

We'll soon see some new legislation here in Denmark (and the EU) regarding the use of tracking cookies (protection of consumers).

It's still not totally clear exactly what's coming, but most likely it'll be required that a web page informs the user that a cookie is being stored on her pc (or maybe it'll even have to ask for permission).

In preparation for that - am I right in assuming that NT uses cookies -  but only for session management and nothing else (by default)?

Regards
Peter

380
Web Server - Ask For Help / Re: Ping Bruce
« on: March 15, 2011, 02:17:36 AM »
Hi Bruce,

It's working now the way I want it!

Your last post got me pointed in the right direction. It was the content-disposition header line that forced the prompt to popup. I simply assumed - from studying the File Download Example - that this line was needed for telling the browser which file to serve. I now realize I was wrong <g>.

Thanks a lot for your help.
Peter

381
Web Server - Ask For Help / Re: Ping Bruce
« on: March 14, 2011, 06:22:29 AM »
Hi Bruce,

It's indeed a workable solution you're offering.

The only drawback is that the user is now being presented with a prompt screen (do you want to open or save). Without adding this code IE could not serve the file at all whereas FF would simply open the file (which is what I really want).

I was hoping that all browsers could act the way FF does as the app is always serving pdf files and they're always just intended for being displayed to the user. Is this what 5.18 will do or is it merely including the fix you've posted?

Thanks
Peter

382
Web Server - Ask For Help / Ping Bruce
« on: March 10, 2011, 02:40:18 AM »
Hi Bruce,

I mailed you an example app on Tuesday - did you receive it?

Peter

383
Web Server - Ask For Help / Re: Strange thing about url
« on: March 03, 2011, 07:10:44 AM »
Yep - seems like it chokes on the url. I get "IE cannot display the web page".

Peter

FYI: C6.3 9056 and NT5.09 (yeah, I know, dinosaur and all <g>)

384
Web Server - Ask For Help / Re: Strange thing about url
« on: March 03, 2011, 03:48:16 AM »
Hi Bruce,

You're absolutely right about the browsers, my fault that I didn't test that  :-[

However, I've got everything working now - but only in FF. In IE my ServeDocument page doesn't work (I'm displaying a pdf).

FF URL: .../ServeDocument?docid=188
IE URL: .../ServeDocument?_Referer_=http%3A//192.168.1.4%3A2019/SagerForm&docid=188

Anything I can do in my code to overcome this?

Thanks
Peter

385
Web Server - Ask For Help / Strange thing about url
« on: March 02, 2011, 02:17:14 AM »
In a browse I've got an Other button that calls another 'child' browse. It's working here but not at a customer site. In my search for a solution I discovered that the url when calling the second browse is different at the two locations (but this was not really causing the problem).

Here:
http://127.0.0.1:88/webfakturaer?WEBSAGER__websager_id=30

Customer:
http://xxx.xxx.0.12:88/webfakturaer?__Referer__=http%3A//xxx.xxx.0.12%3A88/NyeSagerAcceptForm&WEBSAGER__websager_id=38

Where does the referer stuff come from. And why the difference. Is it perhaps a server setting?

Peter

Update: It does create a problem. I cannot serve pdf-files because the page cannot be found (the url has got the referer stuff in it).

386
Web Server - Ask For Help / Re: Wrong date parsing
« on: February 25, 2011, 07:30:47 AM »
Bruce, I hear what you're saying - but it does work in 'regular' clarion. And all 6-digit dates will meet your criteria of being x number of days since 04-01-1801.

Peter

387
Web Server - Ask For Help / Wrong date parsing
« on: February 25, 2011, 04:56:22 AM »
Hi Bruce,
I know you want to go out of your way to let users type just about anything in a date field - and you'll parse it at get something meaningful out of it (Bruce's 3.rd law, I think).

However, I've got a date field with this picture: @d06- and I'm using the date format dd-mm-yyyy in the app.

If I enter 110111 (January 11. 2011) it gets parsed as 19-06-2112 (June 19. 2112). I can't even guess how you do that!

A user called me about this so I thought I'd let you know.

Peter

 

388
Web Server - Ask For Help / Re: Error in template - 5.16
« on: February 23, 2011, 05:30:24 AM »
Bruce,

I tried your fix in netweb.clw and it made the 404 go away. But I don't get the new page either. Nothing happens.

So I can confirm there's a problem with Other button.

Peter

PS. FWIW I've just compiled the exact same app in 5.09 - it compiles and runs flawlessly and the Other buttons work as expected!

389
Web Server - Ask For Help / Re: Error in template - 5.16
« on: February 22, 2011, 03:28:54 PM »
But wait, there's more.

When you've got an other button in a browse and this button has a url defined then the generated html is missing a semicolon. The code happens to be generated from the same template line as above.

I can't figure out how to fix this one. Probably you're html encoding it somewhere in the dll or something.

However, the resulting effect of this missing semicolon is that you get a 404 - so maybe this is related to the Page not found post below.

Peter

390
Web Server - Ask For Help / Error in template - 5.16
« on: February 22, 2011, 02:10:28 PM »
Hi Bruce,

I couldn't make example 28 compile so i went to the template to check.
In NetWeb.tpw line 3279 pos 151 there's an apostropy that shouldn't be there.

Maybe it's missing somewhere else <g>

Peter

Pages: 1 ... 24 25 [26] 27