Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Sep 22, 2019 1:09 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: textareas get mixed
PostPosted: Tue Mar 15, 2011 10:20 am 
Offline

Joined: Thu Nov 08, 2007 4:59 am
Posts: 392
Location: Germany
Hi,

I have created an app that has a button and a textarea and a timer.

When I click the button then I open a TCPSocket and connect to a device (basically I do a telnet-login...)
The data that I receive (polling in a timer event) as a respone from the device I display in a textarea (Greeting screen, Login-Screen..)

(The timer I use because it somehow didn't work at all if I tried it without a timer using a Loop...)


Basically all this works - as long as I connect from one client only (one browser)

But if I connect with a second browser at the same time then the content of the textareas are mixed...so text that should be displayed in client1's textarea is displayed in client2's textarea (or parts of it)...

I would guess that I somehow need to work with sessions?
(This is not done automatically by WE..?)

And if I need to work with sessions - how would I do it?
I have tried to use

Quote:
Session.Webpage1.Textarea1.text = myData //mydata comes from: TCPSocket.poll - TCPSocket.ReadAll()
instead of
Textarea1.text = myData

But this didn't help.

Heinz


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group