473,395 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Sharing sessions across virtual directories/projects

Hi,

I am setting a session in one directory ('/admin/login.aspx'). The project
for this folder is runnig in the root directory of the server.

I am then redirecting to to a virtual directory (/crm/default.aspx) which is
running a self contained project (separate bin folder etc.)

On the login page I am setting a session variable: 'Session("Login") =
True'. When I try and read this session from the /crm/ virtual directory it
doesn't exist.

Is there any (reasonably secure) way of passing the session information from
one project to the other?

BTW: I am currently using the same SQL Server to handle sessions.

Thanks in advance,

Stu
Nov 18 '05 #1
1 2752
Hi,

You could try to use an intermedium page with hidden fields to pass the
session between application.

Very poor way I know, but it works

HTH,
Stefano Mostarda MCP
Rome Italy

Stu Lock wrote:
Hi,

I am setting a session in one directory ('/admin/login.aspx'). The project
for this folder is runnig in the root directory of the server.

I am then redirecting to to a virtual directory (/crm/default.aspx) which is
running a self contained project (separate bin folder etc.)

On the login page I am setting a session variable: 'Session("Login") =
True'. When I try and read this session from the /crm/ virtual directory it
doesn't exist.

Is there any (reasonably secure) way of passing the session information from
one project to the other?

BTW: I am currently using the same SQL Server to handle sessions.

Thanks in advance,

Stu

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies...
2
by: Stanley Glass | last post by:
Ok I have our Intranet up and I want to add a new project to run under the intranet, making use of its sessions.However, when I move the new project to the dev system (removing the globabl.asax and...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
4
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
0
by: dotnetmuddu | last post by:
Hi, Have you guys come across this ? Can I share the session state between virtual directories. Ex : I have Virtual Dir SessionTest1 & SessionTest2. If a variable Session = "testuser"...
1
by: dotnetmuddu | last post by:
Hi, Have you guys come across this ? Can I share the session state between virtual directories. Ex : I have Virtual Dir SessionTest1 & SessionTest2. If a variable Session = "testuser"...
1
by: Matt Owens | last post by:
Hi, Im setting up a new project in which I'd like to share code across numerous other projects, specifically a control library and an array of common objects. Im not really sure how best to go...
2
by: Jeff Dege | last post by:
I'm working with a group that's been doing C++ coding for quite a long time, now, and in that environment we've pretty much worked out development practices that serve us well. We've been doing...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.