Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / December 2005

Tip: Looking for answers? Try searching our database.

Share Single Session between different .net Solutions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rommellion - 27 Dec 2005 09:17 GMT
We have 5 to 6 projects .net running on production, in which each one
has its own virtual direstory, however we need to add up two more and
link them all together so they can share same single session state. we
are doing this for some Authentication and Role identification
purposes.
We dont want to use any Db like storing session in SQL Server or
whatever, also we dont need to use niether encryption nor passing
parameters, because we will have lot of heck in changing the code in
all of our projects.
I tried to develop a simple prototype in which two different
application one of them stores value in a session and the other try to
read from the session, also with use of another page, but simply it
failed.
I looked over the internet for a real solution but nothing i can depend
on so far.

Any Clues??
Thx
Vadym Stetsyak - 27 Dec 2005 12:21 GMT
If you have to maintain common "session", you will have to store data
somewhere.
IMO you can write somekind of session wrapper that will simulate ASP.NET
session object.
Doing so will result in small code change. Also you can define BasePage
class, and inherit all forms from it.
This BasePage will contain Session property that will point to you session
wrapper.

Signature

Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

> We have 5 to 6 projects .net running on production, in which each one
> has its own virtual direstory, however we need to add up two more and
[quoted text clipped - 14 lines]
> Any Clues??
> Thx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.