SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Feb 2005
    Location
    Eindhoven, Netherlands
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Link two Log-in function together

    Hey sitepoint friends,

    I am at this moment busy with the integration of two separate ASP webapplication.
    I 've to integrate (link together) two Log-in process [intranet log-in process and CMS log-in process]. But i 've no idea how to do that!!!

    there are two separate Mysql databases [intranet.database] and [CMS. database].

    Please help....Does anyone know how i can link this two log-in process together? any help would be great.


    thanks in advanced,
    Chey
    Always be yourself because there are enough others.

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Can you combine the table that stores the users login data, or do they have to stay as seperate tables? If they are seperate then you will still have to check both tables for a match.

    Post your existing code and we can go from there.

  3. #3
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As Thing said, you have to check one database, if a match has been found then check the second, an issue may arrise when the users password either fails or changes on one and fails to replicate on the other.

    Your best of merging both db tables together.

    Or making sure that when pass resets or chages both replicate between tables.

    Gav

  4. #4
    SitePoint Member
    Join Date
    Feb 2005
    Location
    Eindhoven, Netherlands
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanx Thing and gRoberts.

    I think I've to make a seperate ASP file and combine the data from two tabels. But how can i take the session from Intranet app to CMS app?

    "if you are loged in intranet, it means you are automaticly log in CMS" if " and "if you are loged in CMS you are also loged in intranet"
    <this action can be excute when the data from the tabels are thesame>

    Chey
    Always be yourself because there are enough others.


Bookmarks

Posting Permissions

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