New topic: 

Logging into and displaying web page in HTMLViewer

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        judgedoug          Post subject: Logging into and displaying web 
page in HTMLViewerPosted: Fri Mar 22, 2013 11:46 am                         
Joined: Fri Nov 14, 2008 3:44 pm
Posts: 61                Hi everyone,
attempting to do something I've never done before, and I'm confusing myself 
more and more so I thought I'd post here and see if anyone has done something 
similar and could offer advice.

I've got an internal CRM application, and one of the functions I'm working on 
is for it to access and display the company's internal Wiki page (where company 
procedures are stored, etc). This is a normal mediawiki setup. The user info 
for logging into the CRM are mirrored for the user info for the Wiki (editing 
rights, etc).

Basically, I need to access the Mediawiki api to log in, set a session cookie, 
and then use HTMLViewer to display the Wiki with the user already logged in. 

But from what I can understand, there's nothing that ties HTTPSocket to 
HTMLViewer.

I am able to log in automatically using HTTPSocket and parsing the login 
request, then retrieving the session cookies and such.  When I send the results 
to the HTMLViewer, the page has the user logged in. But any additional 
navigate, the user is not logged in any more - as the htmlViewer does not have 
a way to access the HTTPSocket's session cookies.

Is there any way to do this? Have the HTTPSocket automatically log into a 
webpage and have the cookies saved so the user can navigate the webpage on the 
HTMLViewer?

Thanks!   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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