Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2005, 09:20 PM
Authorized User
 
Join Date: Apr 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NETsession expires on multiple web servers

Hello,
  We have .NET and ColdFusion on Win 2003 server and we keep losing session variables set in ASPX page. We have an ASPX page that link to a ColdFusion page. When user clicks on a link on the ColdFusion page to return back to the ASPX page, the session variables on the ASPX page are lost. Could someone point us into the right direction on how to keep session variable on aspx when move back and forth between ColdFusion and ASPX page? IIS? Application Pooling?

Thanks in advance,
Peter
__________________
Peter
 
Old January 17th, 2006, 08:31 PM
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi.

Single sign on between several web servers is actually a complex issue, but one thing you could try in you asp.net app, is to write a cookie to the client when the session is established, and check for the existents of this client cookie in the start of each request (global.asax Begin_Request), and (if you don’t have a session), recreate the session based on the client cookie. This method, of course requires that you maintain the session data somewhere.

.
You can also check out this article (If you can use LDAP):
http://www.aspfree.com/c/a/ASP/Apply...Application/1/

A book is claming to have the solution (I have not read it):
http://www.sitepoint.com/article/sin...ervice-asp-net

A google search on: single sign on "Asp.net" coldfusion

Gives you quiet a few pointers

Best Regards
Georg Jansen
http://www.l4ndash.com - Log4net Dashboard and Log Viewer
 
Old January 18th, 2006, 06:38 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to khsas Send a message via Yahoo to khsas
Default

hi peter,im khalid from jordan
and i think about your problem is all to have is to repair your IIS or to reinstall it ,i think the same problem happened with my friend and he just did what i told you
regards
KHALID SAADA





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: ASP web application for multiple users BananaJim Classic ASP Professional 5 March 26th, 2007 03:18 PM
FREE ASP SUPPORTING SERVERS glisando Dreamweaver (all versions) 2 June 8th, 2005 11:54 AM
Session management in ASP .Net with Multiple web s r_ganesh76 General .NET 1 September 9th, 2004 07:09 AM
ASP With Testing Servers Ben Horne Dreamweaver (all versions) 3 September 29th, 2003 01:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.