Normal Topic difference in output: server vs. local machien (Read 1046 times)
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
difference in output: server vs. local machien
Mar 9th, 2004 at 8:26pm
Print Post Print Post  
Hi there,

I have been struggling to create a unique ID each time a new record is added.  I've been trying to use the code as shown in thread http://www.lantica.com/Forum2/cgi-bin/yabb/YaBB.pl?board=gen_disc;action=display..., but discovered that a new ID is only generated when I run the application locally.  However, if I execute it on the server, I keep getting the same ID.

Any clues?
  
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: difference in output: server vs. local machien
Reply #1 - Mar 9th, 2004 at 10:34pm
Print Post Print Post  
I am wondering if the other people on server/client network also has similar problem. If so, Sesame Development team will have to look into this. I know, you have been trying to have this simple code work. I am glad that you narrowed the problem to the extent that it is only when you work on the server. Local machine or stand-alone does not experience such problem to get the sequential number in counter.
  
Back to top
 
IP Logged
 
CapitalG
Full Member
Members
***
Offline



Posts: 143
Location: Phoenix, Arizona
Joined: Mar 4th, 2003
Re: difference in output: server vs. local machien
Reply #2 - Mar 10th, 2004 at 7:51pm
Print Post Print Post  
I didn't have any of these fields in my database but I added one and have experienced the same problem.  If I run it on the server, the number is the same with each record.  If I run it locally, it increases properly.

It does appear to be a bug when working with the server. Undecided
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: difference in output: server vs. local machien
Reply #3 - Mar 10th, 2004 at 8:07pm
Print Post Print Post  
We've assigned a tech to look into this. We'll let you know what we find out.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: difference in output: server vs. local machien
Reply #4 - Mar 10th, 2004 at 8:21pm
Print Post Print Post  
Testing shows that this is a symptom of a bug we've already taken care of in 1.0.2. The upcoming release fixes this problem.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged