Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Single cookie for multiple domains -- got a work-around?

Status
Not open for further replies.

RottPaws

Programmer
Mar 1, 2002
478
US
I have what seems to be a single site from the user standpoint, but is actually a collection of web tools and reports spanning two separate servers. One is on a Windows machine running iis and ASP pages, the other is a Linux box running Perl CGI pages.

Both have common routines in the web pages that check for a cookie to see if the user is already logged in. If they are then the page proceeds to load. If not, the user is redirected to a login page which creates the cookie after successful login and sends them back to the referring page.

This all works fine as long as the user stays on one side of the fence. Moving from ASP to ASP or CGI to CGI does not require the user to login repeatedly. However, if a user is on one of the cgi pages and then navigates to an asp page (or vice verse), they are redirected to the login page again since the cookie created by the previous login can only be read by the domain that created it.

This is becoming more and more of a nuisance. Does anybody have an idea of how I can set up the site to have a single login work for all the pages on both servers?

_________
Rott Paws

...It's not a bug. It's an undocumented feature!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top