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

Pages: 1 ... 713 714 [715] 716 717 ... 735
10711
Web Server - Share Knowledge / Re: Customising your own Styles
« on: March 28, 2008, 10:13:40 PM »
Hi Sukhendu,

All the procedures have a "Css Styles" tab. This is where you set the various Css styles for all the components on that window. Then you can also apply styles to browse columns, individual form fields, and so on if desired.

Cheers
Bruce

10712
Web Server - Ask For Help / Re: Problems Controlling RAM Usage
« on: March 28, 2008, 10:11:29 PM »
Hi Rob,

Obviously the possibility for memory leaks in clarion exist, just like any other language - but I think in this case you've got all the bases covered. The fact that it "grows" in memory use would concern me - and I think you should look further into that. Especially if it is "growing" while the program appears to be doing nothing. That suggests a timer somewhere (probably on the web server window) doing something.

Alas though - using Task Manager to determine Ram usage is misleading. Because Windows is smarter than you think.

What happens is basically this. You program uses the 150 Megs of Ram, finishes with it and "frees" it. Windows noticed this, but has nothing better to do with the Ram at the moment. No other program is wanting Ram, and it has plenty of Ram for anyone who does ask. Since your program used this ram recently, it "leaves" the ram assigned to your program for now. That's why the next request just reused that 150 megs.

You'll see this all the time with a normal clarion windows app. On trigger that Windows uses for "taking the ram back" is if the app is minimised. If you "minimised" the server you'd probably see the number change a lot.

If you right click in task manager there are many other memory things you can measure. (for example Virtual vs Physical memory). And in WinEvent there are some memory functions for returning more "accurate" memory numbers.

Cheers
Bruce



10713
Web Server - Ask For Help / Re: Email from a browse using it's data
« on: March 25, 2008, 06:28:05 AM »
Hi Gregg,

So you have the unique ID to identify the record.
Now you need to do a "fetch" from the file to get the rest of the record.

Cheers
Bruce

10714
Web Server - Ask For Help / Re: Browser Title on PDF report (IE6)
« on: March 23, 2008, 10:55:36 PM »
Hi Rob,

Fundamentally ..no. The browser displays on the heading whatever it "asked for". The server can't tell it "hey you asked for A, but what you're actually getting is "B")

However there are 2 parts to the URL there. The first is the sessionID bit. You can suppress this is you like (and as long as the user has cookies turned on). It's slightly superfulous anyway, and is being included by the option on the menu "preserver session numbers". You can turn this option off if you like (everything still works because the session id is passed as a cookie as well.)

The first part of the name, ReportInventory, can be "pseudonamed" if you like, using the PageName property of the ReportInventory procedure. ie if you put "ReportInventory.Pdf" into the Page Name field, then the URL can be
http://localhost/ReportInventory.Pdf

cheers
Bruce


10715
Web Server - Ask For Help / Re: Enter Key
« on: March 23, 2008, 10:51:27 PM »
Hi Kevin,

I don't think there were any major changes to the scripts. Pressing Ctrl-F5 on their side would be a "good thing" (but it'll happen naturally within a few days anyway.) If anything it's possible the bug fix was in the scripts, so it might solve their problem.

Cheers
Bruce


10716
Hi Alan,

Regarding the first bit - the Identity field for the form may not be included as an entry field (read only or not) on the form. You can include it as a DISPLAY field if you wish.

2) is fixed in the 4.30 release version.

Cheers
Bruce

10717
Hi Dave,

Thanks for the effort.
Done in 4.31

Cheers
Bruce

10718
Web Server - Ask For Help / Re: Enter Key
« on: March 21, 2008, 09:43:55 AM »
Hi Kevin,

I think the enter key was corrected in the Pr7a build. However I do recommend you upgrade to the "official" release as there were a couple of minor changes.

Mike - do you have an example of the enter key still being a problem - it seems to be sorted in the various shipping examples...

Cheers
Bruce

10719
Web Server - Ask For Help / Re: Auto Complete
« on: March 21, 2008, 09:41:28 AM »
Hi Kevin,

In short any form field that does a "Send new value to server" cannot auto-complete.

Alas, auto-completed fields do not generate a "changed" event in all browsers. So if you are wanting to "do something" when a field changes, breaks when the user uses auto-completion. So for any field that is "dynamic" (ie sets other fields etc) auto-completion is not possible.

Cheers
Bruce

10720
Hi Mike,

There's no advantage, or disadvantage, to using multiple apps.
The speed constraints of the system are what they always are - CPU, Ram, Disk, bandwidth and so on. If the apps are not typically being used at the same time (but are running at the same time) then I'd suspect RAM as the primary issue.

Cheers
Bruce


10721
Web Server - Ask For Help / Re: HTML Button in Email
« on: March 21, 2008, 09:36:54 AM »
Hi Kevin,

Mike is right. All you're gonna do is generate a small <form> in your Emails HTM section. The "action" for the form will be a URL of your site. Getting the URL right is important, so something like;

http://www.yoursite.com/response?accept=yes&user=lkhjfgsld8945

Obviously each email you send out has a unique "user" field whatever that is. Typically it's the unique id of the record in the database.

In your procedure, called Response, you can use p_web.GetValue('accept') and so on.

But wait, there's more.

Many email clients no longer allow a Button in an Html email. In other words this approach no longer works. You are allowed a link though, so instead of a <form> with buttons, you use a link.

Cheers
Bruce

10722
Hi Mike,

It should behave the same -
Make sure you're on the latest release (4.30 official)
and that you've pressed Ctrl-F5 in your browser.

Keep me posted.

Cheers
Bruce


10723
Web Server - Ask For Help / Re: Entry field (String) reads 0,50 as 50
« on: March 16, 2008, 11:09:01 PM »
fixed in the "official" 4.30 release.

Cheers
Bruce

10724
Hi Mike,

I would tend to agree with your assessment that the session is timing out.
2 things you could try;

a) lengthen the timeout, and see if that affects things.

b) capture the log to disk - then next time it happens inspect the log to see what the gap was between their last access, and the one before that.

Of course it's possible you're doing something in your code to log them out, but I'm guessing you've checked for that.

Cheers
Bruce



10725
Web Server - Ask For Help / Re: Problems with Self-Service
« on: March 16, 2008, 10:48:12 PM »
Hi Chris,

I've got a debug version of the template here, which you're welcome to try (just send me an email). This template doesn't fix the bug (I know _what_ is happening, and I can simply brute-force it, but I don't know _why_ yet) but it contains extra debug code that should assist us in finding out exactly what triggers it to happen.

So if you're willing to help that would be great. Send me an email.

cheers
Bruce

Pages: 1 ... 713 714 [715] 716 717 ... 735