New topic: 

Sending Data to a Webpage Session

<http://forums.realsoftware.com/viewtopic.php?t=48064>

         Page 1 of 1
   [ 5 posts ]             Print view    Previous topic | Next topic          
Author  Message        p0wn3d          Post subject: Sending Data to a Webpage 
SessionPosted: Tue Jun 04, 2013 5:55 am                                 
Joined: Sun Oct 28, 2012 4:54 am
Posts: 264
Location: Herts, UK                Hi

I need to change a label text on a specific webpage from an EasyTCPsocket 
recieved message event having already knowing in advance the session.identifier 
that I wish to interact with IE: BCF5785AA76A805F376C186BD25E801D.

Any idea's please.

Thanks      
_________________
Real Studio 2012 R2
SysInfo
BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD
& Yes it's me in the Avatar  
                             Top                Akiland          Post subject: 
Re: Sending Data to a Webpage SessionPosted: Tue Jun 04, 2013 6:13 am           
                      
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden                In the App class this should work 
SessionWithIdentifier("BCF5785AA76A805F376C186BD25E801D", 
RemoteAddress).Label1.text = "Hello World"
PS. Pseudo code, not tested.
http://docs.realsoftware.com/index.php/WebApplication.SessionWithIdentifier     
 
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1  
                             Top                p0wn3d          Post subject: 
Re: Sending Data to a Webpage SessionPosted: Tue Jun 04, 2013 6:36 am           
                      
Joined: Sun Oct 28, 2012 4:54 am
Posts: 264
Location: Herts, UK                Hi, Akiland

Thanks I tried this but getting error "This item does not exist" for 
SessionWithIndentifier.

     
_________________
Real Studio 2012 R2
SysInfo
BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD
& Yes it's me in the Avatar  
                             Top                Akiland          Post subject: 
Re: Sending Data to a Webpage SessionPosted: Tue Jun 04, 2013 7:00 am           
                      
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden                p0wn3d wrote:Hi, Akiland

Thanks I tried this but getting error "This item does not exist" for 
SessionWithIndentifier.

 
Try this: must be used in App class.
SessionWithIdentifier("SESSIONIDENTIFIER", "REMOTEIP").WebPage1.Label1.text = 
"Hello World"

I'll fix an example for you real quick!      
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1  
                             Top                Akiland          Post subject: 
Re: Sending Data to a Webpage SessionPosted: Tue Jun 04, 2013 7:20 am           
                      
Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden                Here's a working example i made in 
5 min 
https://www.box.com/s/ee2q2fmhb86yjv47fo52      
_________________
 http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 5 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to