Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Thanked 0 Times in 0 Posts

    Login to external homepage

    Hello experts

    I have a homepage (Joomla), where it is possible to login to an external homepage (Not Joomla). Everything is working OK, but I miss the "Remember me" function. I suppose I need a cookie functionality.

    As it is now I use a simple script:

    <script type="text/javascript">
            function displaymessage()
                var username = document.getElementsByName('username')[0].value;
                var password = document.getElementsByName('password')[0].value;
                window.open('https://memberservice.sport-solutions.dk?username=' + username + '&password=' + password);
                document.getElementsByName('username')[0].value = '';
                document.getElementsByName('password')[0].value = '';
    Experts has told me, it would be smarter and more safe to use a php script...

    You can see the homepage here: http://letsmove.dk/
    (The script is hidden to the right under "Online holdbookning og brugerprofil".

    Can anybody help me fixing this problem?

    Actually I am looking for someone I can use for small jobs like this. I am building Joomla homepages, and I often need a programmer for helping with details like this.

    Best Regards


  2. #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Thanked 637 Times in 625 Posts
    The cookie should be set in your other page-- the memberservice.sport-solutions.dk page, only after you've validated the username/password. And yes in that page, you'll want to do this validation on the server side (PHP or whatever).


Posting Permissions

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