Ask a Question related to ASP.NET General, Design and Development.
-
Edwin Kusters #1
Re: Multiple levels of Session Persistence
Phil,
Stupid note perhaps but you do realize that doing this method of storing
does not guarantee that all session are kept?
- The memory version won't work in a webfarm scenario (guess you don't have
that)
- Memory only session data will get lost on for instance hardware/power
failure.
- Changes to the configuration files can also stop/start your app removing
memory sessions
This can all be perfectly acceptable but wanted to mention it anyway.
Regards,
Edwin Kusters
Hot ITem Informatica
"Phil S" <phil.scovis@hansen.NOSPAM.com> wrote in message
news:OQGdOCiSDHA.2228@tk2msftngp13.phx.gbl...a> I think that's what I'm going to end up doing, assuming there's no
> configuration setting that will do it for me.
>
> "Victor Garcia Aprea [MVP]" <vga@NOobiesSPAM.com> wrote in message
> news:#yLoj0ASDHA.3796@tk2msftngp13.phx.gbl...> > Hi Phil,
> >
> > I've written a "PersistentStorage" type for one of my clients. It works
> > exactly like session but persist the data to a provided storage. It hason> > data provider model so you could add different storage targets where to
> > persist the data. Currently I've only written a MSSQL provider but its
> > working great. Basically its a type implementing IHttpModule that basedrequest> > the current user id retrieves his/her previous session-data when anewsgroup> request> > comes in and saves the session-data (only if it was modified) when a> > ends.
> >
> > --
> > Victor Garcia Aprea
> > Microsoft MVP | ASP.NET
> > Looking for insights on ASP.NET? Read my blog:
> > [url]http://obies.com/vga/blog.aspx[/url]
> > To contact me remove 'NOSPAM'. Please post all questions to thenot> sessions> > and not by private mail.
> >
> > "Phil S" <phil.scovis.NoHormelMeatProducts@hansen.com> wrote in message
> > news:%23WnHqk%23RDHA.1896@TK2MSFTNGP12.phx.gbl...> > availability;> > > I know it's possible to set the config file to keep sessions either in
> > > process or persist them.
> > >
> > > How would one go about implementing multiple layers of Session> > > e.g.: Keep sessions in memory for X minutes, then maintain them out of
> > > process for Y days, then abandon them.
> > >
> > > The ultimate goal here is that sessions never expire, but active> > The> > > are kept on the stove, and old zombie sessions are put in the freezer.> > > configuration file seems to allow for the stove or the freezer, but>> >> > > both.
> > >
> > > Any help is appreciated.
> > >
> > >
> >
>
Edwin Kusters Guest
-
filterFunction on multiple levels
I am using filterFunction on a XMLListCollection to filter data. It works fine except it only filters the first level of data. Is there someway to... -
#25551 [Bgs->Opn]: Session data loss when accessing session from multiple windows.
ID: 25551 User updated by: brett at realestate-school dot com Reported By: brett at realestate-school dot com -Status: ... -
#25551 [NEW]: Session data loss when accessing session from multiple windows.
From: brett at realestate-school dot com Operating system: Linux - Red Hat PHP version: 4.3.1 PHP Bug Type: Session related... -
Session Variables Persistence
If the browser is loading the file from the local cache, then it is not going back to the server, so no ASP code is being run on the server to... -
Websphere session persistence gets "protocol violation" using oracle jdbc driver
Hi, We use oracle (8.1.7) as the session persistence database for our websphere 3.5.4 application server. After 15 min of running a stress test,... -
Phil S #2
Re: Multiple levels of Session Persistence
Thanks for the heads up..
Actually, I had thought of this, but for the present, we are merely
concerned with not having people time out in normal usage, such as taking a
potty break in the middle of using the site. We'll probably end up with
some kind of session server to handle short-term state management.
"Edwin Kusters" <NOSPAMeksnews@xs4all.nl> wrote in message
news:uM##kplSDHA.212@TK2MSFTNGP10.phx.gbl...have> Phil,
>
> Stupid note perhaps but you do realize that doing this method of storing
> does not guarantee that all session are kept?
> - The memory version won't work in a webfarm scenario (guess you don'tworks> that)
> - Memory only session data will get lost on for instance hardware/power
> failure.
> - Changes to the configuration files can also stop/start your app removing
> memory sessions
>
> This can all be perfectly acceptable but wanted to mention it anyway.
>
> Regards,
> Edwin Kusters
> Hot ITem Informatica
>
> "Phil S" <phil.scovis@hansen.NOSPAM.com> wrote in message
> news:OQGdOCiSDHA.2228@tk2msftngp13.phx.gbl...> > I think that's what I'm going to end up doing, assuming there's no
> > configuration setting that will do it for me.
> >
> > "Victor Garcia Aprea [MVP]" <vga@NOobiesSPAM.com> wrote in message
> > news:#yLoj0ASDHA.3796@tk2msftngp13.phx.gbl...> > > Hi Phil,
> > >
> > > I've written a "PersistentStorage" type for one of my clients. Ithas> > > exactly like session but persist the data to a provided storage. Itto> a> > > data provider model so you could add different storage targets wherebased> > > persist the data. Currently I've only written a MSSQL provider but its
> > > working great. Basically its a type implementing IHttpModule thatmessage> on> request> > > the current user id retrieves his/her previous session-data when a> newsgroup> > request> > > comes in and saves the session-data (only if it was modified) when a> > > ends.
> > >
> > > --
> > > Victor Garcia Aprea
> > > Microsoft MVP | ASP.NET
> > > Looking for insights on ASP.NET? Read my blog:
> > > [url]http://obies.com/vga/blog.aspx[/url]
> > > To contact me remove 'NOSPAM'. Please post all questions to the> > > and not by private mail.
> > >
> > > "Phil S" <phil.scovis.NoHormelMeatProducts@hansen.com> wrote inin> > > news:%23WnHqk%23RDHA.1896@TK2MSFTNGP12.phx.gbl...
> > > > I know it's possible to set the config file to keep sessions eitherof> > > > process or persist them.
> > > >
> > > > How would one go about implementing multiple layers of Session
> > > availability;
> > > > e.g.: Keep sessions in memory for X minutes, then maintain them outfreezer.> > sessions> > > > process for Y days, then abandon them.
> > > >
> > > > The ultimate goal here is that sessions never expire, but active> > > > are kept on the stove, and old zombie sessions are put in the> not> > > The
> > > > configuration file seems to allow for the stove or the freezer, but>> >> > > > both.
> > > >
> > > > Any help is appreciated.
> > > >
> > > >
> > >
> > >
> >
>
Phil S Guest
-
John Saunders #3
Re: Multiple levels of Session Persistence
Why not just make the session timeout longer?
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Phil S" <phil.scovis@hansen.NOSPAM.com> wrote in message
news:u32evEmSDHA.1072@TK2MSFTNGP10.phx.gbl...a> Thanks for the heads up..
> Actually, I had thought of this, but for the present, we are merely
> concerned with not having people time out in normal usage, such as takingremoving> potty break in the middle of using the site. We'll probably end up with
> some kind of session server to handle short-term state management.
>
>
> "Edwin Kusters" <NOSPAMeksnews@xs4all.nl> wrote in message
> news:uM##kplSDHA.212@TK2MSFTNGP10.phx.gbl...> have> > Phil,
> >
> > Stupid note perhaps but you do realize that doing this method of storing
> > does not guarantee that all session are kept?
> > - The memory version won't work in a webfarm scenario (guess you don't> > that)
> > - Memory only session data will get lost on for instance hardware/power
> > failure.
> > - Changes to the configuration files can also stop/start your appits> works> > memory sessions
> >
> > This can all be perfectly acceptable but wanted to mention it anyway.
> >
> > Regards,
> > Edwin Kusters
> > Hot ITem Informatica
> >
> > "Phil S" <phil.scovis@hansen.NOSPAM.com> wrote in message
> > news:OQGdOCiSDHA.2228@tk2msftngp13.phx.gbl...> > > I think that's what I'm going to end up doing, assuming there's no
> > > configuration setting that will do it for me.
> > >
> > > "Victor Garcia Aprea [MVP]" <vga@NOobiesSPAM.com> wrote in message
> > > news:#yLoj0ASDHA.3796@tk2msftngp13.phx.gbl...
> > > > Hi Phil,
> > > >
> > > > I've written a "PersistentStorage" type for one of my clients. It> has> > > > exactly like session but persist the data to a provided storage. It> to> > a> > > > data provider model so you could add different storage targets where> > > > persist the data. Currently I've only written a MSSQL provider buteither> based> > > > working great. Basically its a type implementing IHttpModule that> message> > on> > request> > > > the current user id retrieves his/her previous session-data when a> > newsgroup> > > > comes in and saves the session-data (only if it was modified) when a
> > > request
> > > > ends.
> > > >
> > > > --
> > > > Victor Garcia Aprea
> > > > Microsoft MVP | ASP.NET
> > > > Looking for insights on ASP.NET? Read my blog:
> > > > [url]http://obies.com/vga/blog.aspx[/url]
> > > > To contact me remove 'NOSPAM'. Please post all questions to the> > > > and not by private mail.
> > > >
> > > > "Phil S" <phil.scovis.NoHormelMeatProducts@hansen.com> wrote in> > > > news:%23WnHqk%23RDHA.1896@TK2MSFTNGP12.phx.gbl...
> > > > > I know it's possible to set the config file to keep sessionsout> in> > > > > process or persist them.
> > > > >
> > > > > How would one go about implementing multiple layers of Session
> > > > availability;
> > > > > e.g.: Keep sessions in memory for X minutes, then maintain thembut> of> freezer.> > > > > process for Y days, then abandon them.
> > > > >
> > > > > The ultimate goal here is that sessions never expire, but active
> > > sessions
> > > > > are kept on the stove, and old zombie sessions are put in the> > > > The
> > > > > configuration file seems to allow for the stove or the freezer,>> > not> >> > > > > both.
> > > > >
> > > > > Any help is appreciated.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
John Saunders Guest



Reply With Quote

