Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5945759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:43:36+00:00 2026-05-22T16:43:36+00:00

We have a web application that runs on a IIS6 ASP.Net server. You must

  • 0

We have a web application that runs on a IIS6 ASP.Net server. You must be logged in to use the software. Basically when you login a cookie is generated then when you visit subsequent pages they check for that cookie; if it is not there then you are redirected to login.

We want to implement a MediaWiki server using Linux/PHP (LAMP) to provide a “wiki” formatted help section for our users. However, we want to only allow access from people that are logged in to the software.

So we have software.company.com (Windows/IIS6/ASP.NET server) that you login and navigate to our help which redirects you to kb.company.com (Linux/Apache/PHP server).

My thoughts are to use the same sort of “cookie” checking on the linux server, but I’m not sure how to get the Windows IIS box to pass a token or something to the Linux server saying “hey this user is logged in so generate a cookie for them”.

Anyone do anything like this? I may be completely missing the boat in my thinking…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:43:37+00:00Added an answer on May 22, 2026 at 4:43 pm

    The problem here is about how to tell the kb.company.com site that the inbound user is genuinely authenticated and logged into support.company.com.

    We have a very similar setup. We have a reseller portal and we have a private knowledgebase wiki site.

    To transfer users over to the wiki site we have a special link that requests a page on support.company.com which generates a blob of data and a session key (for example a guid or two) that is persisted to a “session transfer” database table that’s accessible to both sites.

    We then Response.Redirect() the user to the wikisite with this key, for example:

    http://kb.company.com/DoLogin.aspx?session=E97DDE8D-1C57-4450-ABE4-72E2054A1C82

    In the wiki (we modified ScrewTurn wiki slightly) we have Forms Authentication turned on and deny access to anonymous users. The DoLogin.aspx grabs the session value from the query string and then looks for the record stored in the “session transfer” table. If there’s a match then we authenticate the user and delete the session transfer record.

    The session transfer record is also date and time stamped and is allowed a lifetime of 90 seconds after which a cleanup task will delete the record.

    Rather than pass the session key value via the querystring you could pass this via a cookie where the cookie domain is set to company.com:

    HttpCookie cookie = new HttpCookie("session", "<guid>");
    cookie.Domain = "company.com";
    

    Further embellishments would be to encrypt the cookie value do some hashing and check for tampering on the other side of the transfer. However the content in our wiki isn’t terribly valuable (none of it is editable by the end user), we just wanted to keep out casual passer’s by, and this works just fine for us.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a asp.net web application that runs locally and opens docx files in
I have a applet that runs with no issue in asp.net web application ...
I have a fairly simple CRUD web application (C#/ASP.NET) that runs fine in Firefox,
We have an asp.net 4.0 (integrated mode) web application that runs on iis 7.5
I have a web application that runs fine under IIS5 or IIS6. I just
I have a web server that runs my web application. If I want to
I have a medium sized application that runs as a .net web-service which I
We have a web application that runs on IIS using .NET 2.0 developed and
Basically I have two applications: a PHP web application that runs over Apache and
I have a web application that runs perfectly fine when I use the Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.