#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Posts
    3
    Rep Power
    0

    Authenticate JSP site from ASP site


    I have an asp.net site which uses the same database as another JSP site. The JSP site does some reporting and asp site is used for data entry. What I need is once a user is logged in to asp.net site and clicks on one of those common id's, I want to take them to the jsp site to show the report without having them to sign in again. The username and password for the jsp site is exactly the same as asp since they use the same user table. The JSP site is 3-4 years old and I am not at all experienced in it. So if anyone can help me out here.

    Thanks
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,424
    Rep Power
    4539
    It sounds to me like you need to do all the extra authenticating on the jsp code, not in asp.

    Classic asp could use the serverxmlhttp object to talk to another http site, and I think you can pass authentication from code, but I'm not sure. And I don't know if that component is available in asp.net, I don't use .net
    ======
    Doug G
    ======
    The man who doesn't read good books has no advantage over the man who can't read them.
    --Mark Twain
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Posts
    3
    Rep Power
    0
    Originally Posted by Doug G
    It sounds to me like you need to do all the extra authenticating on the jsp code, not in asp.

    Classic asp could use the serverxmlhttp object to talk to another http site, and I think you can pass authentication from code, but I'm not sure. And I don't know if that component is available in asp.net, I don't use .net

    -- Is there a way that I can auto post the username and password from the asp to the jsp login using some form and then have a parallel sort of transfer of the ID as well?

IMN logo majestic logo threadwatch logo seochat tools logo