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 ... 710 711 [712] 713 714 ... 736
10666
Another option might be to not generate the graph at all id the "browser" is a robot. I'll have to take a look at my logs to see if the bot can be distinguished from the others.

Cheers
Bruce

10667
Web Server - Ask For Help / Re: Browse Buttons (On the row)
« on: June 12, 2008, 01:09:34 AM »
Hi Ian,

Watch this space - this is best handled with a feature in the next build. I'm working on perfecting it at the moment.

Cheers
Bruce

10668
Hi Mike,

You can suppress the errors on the WebServer procedure, settings, "Suppress Errors" checkbox.
Error -34 is caused when you attempt to close a connection that is already closed.
Error -40 is caused when the remote side closes a connection "early" - ie when you still have stuff to send it.

Both errors can be ignored.

Cheers
Bruce




10669
Hi Mike,

hmm - I've tested here using the BasicGraph example and it seems to be functioning ok.

One "hole" I can see though is if the web browser doesn't fetch the image. In that case it gets generated, but never served. If it's not served then of course it's not deleted.

There are 2 cases I can think of that might do this.
a) the user has "images" for their browser turned off or

b) there is a program, other than a browser, pinging your site. Gogglebot for example will probably visit your site from time to time, and I don't know if they'll bother to fetch the images. Also if someone points an RSS reader at your main page that also has the effect of fetching the text, but not necessarily the images.

So a couple questions for you to do -
a) do you get this effect in the example
b) do you get this effect when _you_ access your site via a browser, or are you just seeing images left behind by other users?

Cheers
Bruce

10670
Web Server - Ask For Help / Re: Calling procedures Conditionally
« on: June 09, 2008, 11:25:08 PM »
Hi Binu,

What you really want to do here is create a procedure, called say "CallReport" that looks at the various options chosen by the user, and calls the appropriate report procedure. 

I'd probably use the NetWebPage procedure type for this, but I'd embed the code _before_ the procedure generates the header etc. In other words this NetWebPage is strictly just a decider, we don't want it to actually send any html.

So, we make it a NetWebPage, and we call it CallReport, so the URL for the "Print" button on the options form is set to 'CallReport' and the target is set to '_blank'.

Then In CallReport, as I say very eary, you can have something like the following;

If p_web.GetValue('Whatever')
  ReportA(p_web)
else
  ReportB(p_web)
End
Return

In the above code, ReportA, and ReportB are the two procedures you are choosing between. And "Whatever" is the checkbox variable on your options form that you mentioned.

Cheers
Bruce

10671
News And Views / Re: NetTalk Pre-Release version 4.31 available
« on: May 21, 2008, 02:34:41 AM »
Build 3 is now available.
This build contains a few fixes, and includes the files missing from the "Pages" example.

Cheers
Bruce

10672
Web Server - Ask For Help / Re: Copy button working in 4.31?
« on: May 21, 2008, 12:59:44 AM »
Hi Mike,

There's no fixed time between builds - it depends a bit on how badly it's broken. Since the pre-release builds are not "official builds" they don't show up in our RSS feed.

However I do update the thread in News & Views whenever I post an update. and the Pre-Release page itself is updated with the release date.

I am in the process of doing a build now, it should be there in a couple hours.

Cheers
Bruce

10673
Web Server - Ask For Help / Re: Question about child-procedures
« on: May 20, 2008, 12:31:25 AM »
Hi Mike,

For me it's almost impossible to comment without seeing an example app.
Feel free to email me one and I'll take a look.

cheers
Bruce

10674
Web Server - Ask For Help / Re: Copy button working in 4.31?
« on: May 20, 2008, 12:18:34 AM »
Hi Mike,

I've found a small bug. You can try a simple fix there if you like.
Open \clarion6\libsrc\netweb.clw
right at the bottom are 4 lines;

    self._openfile(p_file)
    err = self._loadrecord(p_file,p_key)
    self._clearKeyFields(p_file,p_key)
    self._closefile(p_file)

The open, and close, calls should be commented out.

    !self._openfile(p_file)
    err = self._loadrecord(p_file,p_key)
    self._clearKeyFields(p_file,p_key)
    !self._closefile(p_file)

I'll make a build later today with this fix.

Cheers
Bruce

10675
In the WebServer procedure,
WebServer extension
Settings Tab
Scripts tab
tick on "include HTML editor".

Cheers
Bruce

10676
Web Server - Ask For Help / Re: Passing SessionID and AJAX
« on: May 19, 2008, 05:59:12 AM »
Hi Bill,

It's hard to say for sure - but there are a couple things being done "under the skin" that might be affecting you.

Typically when an Ajax call is made, the session ID is passed as a Cookie. So although it's not in the SetServer call, it is passed as an "implicit" parameter.

On the server side it does check the SessionId on Ajax calls - otherwise of course it can't really do anything.

You imply that the session id is getting through ok anyway - and is the correct number - but if that's the case then adding it as an extra parameter shouldn't have any effect.

I'd like to take a squiz at this app though if possible bring it down to Eden in a couple weeks' time.

Cheers
Bruce

10677
Web Server - Ask For Help / Re: Copy button working in 4.31?
« on: May 19, 2008, 05:53:22 AM »
Hi Mike,

yes, it should be working. It is brand-new of course, so there may be situations where it fails - but it's working in my apps  ;) .
Perhaps define "not working".
Do you see the button?
When you click it does anything happen?

oh - is your form auto-numbered or not?
If it's auto-numbered you might try forcing the auto-numbering to "early" - go to the advanced tab, you'll see a switch there about doing the auto numbering even if not necessary.

Cheers
Bruce

10678
Web Server - Ask For Help / Re: Totally perplexed at a net tag
« on: May 15, 2008, 10:46:17 PM »
You're missing something simple Mike - but I'm not sure what it is.
Can you email me an example?

Cheers
Bruce

10679
Web Server - Ask For Help / Re: Totally perplexed at a net tag
« on: May 13, 2008, 10:47:14 PM »
Hi Mike,

You're being way to clever. __ is translated into :
so use
<!-- net:s:L:Name -->
not
<!-- net:s:L__Name -->

Cheers
Bruce

10680
News And Views / Re: NetTalk Pre-Release version 4.31 available
« on: May 09, 2008, 08:13:23 AM »
Build 2 is now available.

Cheers
Bruce

Pages: 1 ... 710 711 [712] 713 714 ... 736