Home Forum NetTalk Wiki Download/Upload Links Search Fat Chat
Links

Clarion

Clarion Desktop
Capesoft

Java Script

Java Calendar

NetTalk WebServers

POSitive Connect

Clarion Sites

Pimp my Clarion

RSS Feeds

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits

Site Stats

Visits today: 66
Visits yesterday: 178
Visits month: 1063
Visits total: 122289
Max.monthly visits: 6414
  occurred: 2010-8
Pages this month: 4976
Pages total: 683812
Data since: 2007-06-23
Home arrow Forum arrow NetTalk Web Serverarrow Web Server - Ask For Helparrow Procedure Setup Code not firing reliably.. PR26
NetTalk Central
September 07, 2010, 06:19:45 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Procedure Setup Code not firing reliably.. PR26  (Read 40 times)
britech
Jr. Member
**
Posts: 53



View Profile
« on: July 29, 2010, 01:10:09 pm »

Hi Folks,

I was having trouble capturing some session variable data.
The code was written into the Procedure Setup embed on a NetWebForm template.
I added a Message() statement to see what the value was and discovered that the code on the Procedure setup embed point doesn't always fire.
When it does, it fires about 5 or 6 times.

On 8 attempts to open the form, the WebServer only produced the message statementon  2 occassions.
All other accesses to the webform failed to produce the message at all.

Could we be missing something in our approach. Is the Procedure Setup embed NOT a good place to put code?

Look forward to your comments.
Brian
Logged

NT5 PR26
6.3 9055
michelis
Hero Member
*****
Posts: 581


alberto_michelis@hotmail.com
View Profile WWW Email
« Reply #1 on: July 29, 2010, 01:25:46 pm »

Brian,

Do not use this embed point.
Try to use
Generate From / Start

Hope this helps
Alberto
Logged
britech
Jr. Member
**
Posts: 53



View Profile
« Reply #2 on: July 29, 2010, 01:31:01 pm »

Thanks Alberto,
You may have just saved our collective asses on this project.
Appreciate the quick response.
Brian
Logged

NT5 PR26
6.3 9055
kevin plummer
Sr. Member
****
Posts: 330



View Profile WWW
« Reply #3 on: July 29, 2010, 04:28:55 pm »

The other useful embeds are Pre-Insert and Pre-Update remembering on a memory form it will only hit the pre-update embed.

Also using message can be deceptive in some places as multiple Threads are firing. You should use dbgview  with p_web._trace('xxx')
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register

ClarionMag News

mod_dbrss2 AJAX RSS Reader poweredbysimplepie
home contact search contact search