Session Values are lost

Discussion in 'ASP .Net' started by LiliA, Jul 7, 2005.

  1. LiliA

    LiliA Guest

    Hello everyone,

    I have a problem I have no idea why it happens.
    I have an ASP.NET application that has around 7 forms.
    To move from one form to another I use "redirect".
    I also use around 12 Session items that I fill with different values
    like for ex.: Session.item("EmployeeName")="LILIA"
    98% of the time everything is OK.
    However once "in a blue moon" I find that the value in
    Session.item("EmployeeName") is lost.
    I am sure is not an expiration time since this happens after only a
    couple of minutes.
    Any help will be very much appreciated.

    Thanks,

    Liliana
    LiliA, Jul 7, 2005
    #1
    1. Advertising

  2. LiliA

    Guest

    If you are convinced that it isn't the timout its almost for sure that the
    application gets restarted for some reason.
    Causes are editing wec.config,gloval.asax,...

    Cheers,
    Tom Pester

    > Hello everyone,
    >
    > I have a problem I have no idea why it happens.
    > I have an ASP.NET application that has around 7 forms.
    > To move from one form to another I use "redirect".
    > I also use around 12 Session items that I fill with different values
    > like for ex.: Session.item("EmployeeName")="LILIA"
    > 98% of the time everything is OK.
    > However once "in a blue moon" I find that the value in
    > Session.item("EmployeeName") is lost.
    > I am sure is not an expiration time since this happens after only a
    > couple of minutes.
    > Any help will be very much appreciated.
    > Thanks,
    >
    > Liliana
    >
    , Jul 7, 2005
    #2
    1. Advertising

  3. You must be sure follow issues:
    1.Would you modify your application's bin directory.
    2.May be your aspnet_wp.exe(in window2000 or xp) was recycled.
    --
    Help you,Help me.


    "LiliA" wrote:

    > Hello everyone,
    >
    > I have a problem I have no idea why it happens.
    > I have an ASP.NET application that has around 7 forms.
    > To move from one form to another I use "redirect".
    > I also use around 12 Session items that I fill with different values
    > like for ex.: Session.item("EmployeeName")="LILIA"
    > 98% of the time everything is OK.
    > However once "in a blue moon" I find that the value in
    > Session.item("EmployeeName") is lost.
    > I am sure is not an expiration time since this happens after only a
    > couple of minutes.
    > Any help will be very much appreciated.
    >
    > Thanks,
    >
    > Liliana
    >
    >
    =?Utf-8?B?bWFyc2hhbA==?=, Jul 7, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alvin Bruney [MVP]

    Re: lost session values, not Session

    Alvin Bruney [MVP], Mar 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    423
    Alvin Bruney [MVP]
    Mar 2, 2004
  2. =?Utf-8?B?U00=?=
    Replies:
    0
    Views:
    456
    =?Utf-8?B?U00=?=
    Feb 27, 2007
  3. =?Utf-8?B?U00=?=
    Replies:
    0
    Views:
    377
    =?Utf-8?B?U00=?=
    Feb 27, 2007
  4. Priya
    Replies:
    2
    Views:
    416
    Anthony Jones
    Sep 18, 2008
  5. Replies:
    3
    Views:
    678
    Brian Cryer
    Nov 7, 2012
Loading...

Share This Page