×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Unhappy Login to external website

    Hi all,

    i'm a newbie at programming so bear with me.

    i'm trying to create an app that let's me login to a website:
    Code:
    http://www.test.com?j_username=XXXXX&j_password=XXXXX)
    Once logged in, i need to load some part of the website that containt statistics in an iFrame or div

    Code:
    <iframe frameborder="0" scrolling="no" width="100%" height="100%" id="accountSnapshot" src="https://www.test.com/aStartPageAccountSnaphot.action?decorator=noDecorator&applyNamedDecorator=true"></iframe>

    , or even better, scrape that info and load that in my app so that i can give it my own look and feel.


    Can you guys give me a push in the right direction of how you would do this?

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: Login to external website

    Hi shakran,

    you should most probably use the XMLHttpRequest object to do HTTP requests to your website, and manage the session accordingly. By reading the requests' responses, you can actually get the data you're insterested in, and display that inside your widget.

    Pit

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  3. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  4. CEikDialog Question
    By AdamBeck in forum Symbian
    Replies: 2
    Last Post: 2004-09-30, 19:40
  5. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •