Wrox Programmer Forums
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals 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 1st, 2009, 03:00 AM
Authorized User
 
Join Date: Nov 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default SSO and Session variable access

Hello Friends,
I am implementing Single Sign On module for two site on same IIS.
In one web site I set rolename in Session and in other web site I want that role from session. But in second it comes null. Please provide some solution for how to get session from other website.

Thanks.

Last edited by sanjivbshinde; December 1st, 2009 at 03:19 AM..
 
Old December 1st, 2009, 04:06 AM
Friend of Wrox
 
Join Date: Nov 2009
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
Default

because of security reasons you are not allowed to access to Session variables of other websites. and think at the definition of Sessions. How you can make a single session between two websites? is it possible?
 
Old December 1st, 2009, 05:14 AM
Authorized User
 
Join Date: Nov 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default

Hi irProject,
Thanks for your reply. But Using SSO,is there any way to access Session value from one web site to other because from first website I put roleid in session and once user logged in then on second website I want that roleid.
How to achieve this or using cookies is it possible.
 
Old December 3rd, 2009, 04:42 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You can't share session variables between applications. Sessions are tied to an instance of the application(in the browser).

The only option I can think of is to store the values in a database.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript varaible jabeen Javascript 1 October 25th, 2007 06:57 AM
How to assign xsl param with java script varaible Sanjay.Verma XSLT 1 November 21st, 2006 04:34 AM
Configuring E-sso service using ssomanage utility debsoft C# 0 January 10th, 2006 09:58 AM
E-SSO configuration using ssomanage utility debsoft Biztalk 0 January 10th, 2006 09:16 AM





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