|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Session sharing between ASP and ASP.NETHi,
I would like to ask if there is a possibility that a single session is used in a web application that contains ASP and ASP.NET application together for business applications. If yes, how can it be done? Thank you.. As far as I know, the only solution to this would be to store your session
in a SQL Database or using Billy Yuen's MSDN writeup ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp). In my opinion, and though it may vary depending on the nature of your application, a database to store temporary information based on GUID or some other form of session key generated when the user hits the site and persists during the duration of their visit, would be easier than Yuen's example. Rather than reading from Session["key"], you would simply have stored procedures that read from the temporary store database. In addition, some Googling has turned up alternatives that I haven't tired--you might check them out. http://weblogs.asp.net/bleroy/archive/2004/10/21/245826.aspx http://www.eggheadcafe.com/articles/20021207.asp http://www.asp101.com/articles/sidney/sharingsessionstate/default.asp Hope this helps! -dl --- David Longnecker Web Developer http://blog.tiredstudent.com Show quoteHide quote > Hi, > > I would like to ask if there is a possibility that a single session is > used in a web application that contains ASP and ASP.NET application > together for business applications. If yes, how can it be done? Thank > you.. > Hi there,
I've tried some of them but I can't get it to work. I'll try my best. But I am thanking you. Cheers, Crystalite. David Longnecker wrote: Show quoteHide quote > As far as I know, the only solution to this would be to store your session > in a SQL Database or using Billy Yuen's MSDN writeup ( > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp). > > In my opinion, and though it may vary depending on the nature of your application, > a database to store temporary information based on GUID or some other form > of session key generated when the user hits the site and persists during > the duration of their visit, would be easier than Yuen's example. > > Rather than reading from Session["key"], you would simply have stored procedures > that read from the temporary store database. > > In addition, some Googling has turned up alternatives that I haven't tired--you > might check them out. > > http://weblogs.asp.net/bleroy/archive/2004/10/21/245826.aspx > http://www.eggheadcafe.com/articles/20021207.asp > http://www.asp101.com/articles/sidney/sharingsessionstate/default.asp > > Hope this helps! > > -dl > > --- > David Longnecker > Web Developer > http://blog.tiredstudent.com > > > Hi, > > > > I would like to ask if there is a possibility that a single session is > > used in a web application that contains ASP and ASP.NET application > > together for business applications. If yes, how can it be done? Thank > > you.. > >
Login control - image button with text over it
how to get selectedvalue of radiobuttonlist in Javascript? looping through formview controls Dropdownlist set to last value in gridview on postback Accessing USER CONTROL which is inside Masterpage through Another USER Control inside normal page. Use CSS in themes StyleSheetTheme not working Common objects across a user control Login HelpPageIconUrl is the help link Newbie, pulling a video from another web page |
|||||||||||||||||||||||