This is a migrated thread and some comments may be shown as answers.

[Solved] Global Item in Multiple Web Applications Projects

3 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 08 Dec 2007, 10:27 PM
We are moving a very large app from 1.1 to 3.5 and have some questions. Can you take a look and let me know if you can help with any solutions? Maybe we are looking at this the wrong way and you can direct us in a different direction. 

http://digitalfifty.com/Concepts.zip

If you look at the zipped solution it is a very simply concept of what we are trying to do.
You have a web applicaiton project called Wrapper. In there you have Themes, Images, MasterPages and CSS files.
You will also see Test1 and Test2 web applicaitons. We would like to reference all the "Look and Feel" items from the Wrapper project. In the master pages we will also have the navagation and other items such as web user controls if need be. This way we don't need to re-create common ones for each project.
 
We are also looking to have seperate web projects for each module since they are so large. This is represented by Test1 and Test2. Our thought was to have a different host header for each module such as:
OurSite.com
Test1.OurSite.com
Test2.OurSite.com
 
Would we be able to pass Cookies / Sessions from one to another. The login for authentication would be in the OurSite.com project. How do you debug in VS with something like this. You are in the "starter" project and authenticate. Then you click a link that takes you to Test1. VS will not like that cause Test1 is not the project you started the devug on will it?
 
It seems that this can't be an unusual request for large web applications. It's just that finding info on how to accomplish it is near impossible.

Any help you can give would be great.
 
Thank you so much
Jason

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Dec 2007, 04:02 PM
Hello Jason,

This is an interesting scenario, but I am not sure if it is possible at all. Session objects cannot be shared outside the application level.


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jason
Top achievements
Rank 1
answered on 10 Dec 2007, 05:52 PM
I did find out that Session obiject can not be although Cookies can. So there is a workaround that can be made.

Anyone know about the other items?

Thanks for answering. This is not an easy question i know.
j
0
Jason
Top achievements
Rank 1
answered on 10 Dec 2007, 05:52 PM
 -
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jason
Top achievements
Rank 1
Share this question
or