asp.net 1.1 mobile control session state issue

Discussion in 'ASP .Net Mobile' started by jhagerty, Aug 28, 2006.

  1. jhagerty

    jhagerty Guest

    Hi all, I have an asp.net 1.1 web app that uses mobile controls and forms
    authentication. I recently added a "remember me" functionality, allowing the
    user to stay logged into the site between browser sessions (the login page
    makes use of the RedirectFromLoginPage method).

    In doing so, I am getting an intermittent error:

    "The page requires session state that is no longer available. Either the
    session has expired, the client did not send a valid session cookie, or the
    session state history size is too small. Try increasing the history size or
    session expiry limit."

    This happens when a user tries to re-submit a form that has data driven drop
    down boxes. The weird thing is, the form works on the first pass; but, if
    the user drills down into the site, then uses the "Back" button to get back
    to the form, they get the error. They can bypass it by clicking the link to
    bring up the form, which then re-populates all the drop down boxes.

    I have a sense that this is something simple, but have no idea what it might
    be. Any help is appreciated, thanks.
     
    jhagerty, Aug 28, 2006
    #1
    1. Advertising

  2. jhagerty

    JeffP@Work Guest

    I'm sorry if this post precludes any valid responses, however I've had
    similar issues with either using javascript Back()-1, or the browser back
    button...

    So I script my own back buttons that I run into an overloaded method for any
    similar controls.

    I use this by setting the commandArg and Text as needed on any previous
    post, I keep them in Nav panels.

    Anyway it functions for the current datagrid (I know... badthing) to step
    back thru the recordset or to actually go back to a previous page.

    I get most if not all of what I need to know from the cmdArg.

    Painful as it is to do, it enables me to have more control and less suspects
    as to why it's not working.

    HTH

    JeffP....

    "jhagerty" <> wrote in message
    news:...
    > Hi all, I have an asp.net 1.1 web app that uses mobile controls and forms
    > authentication. I recently added a "remember me" functionality, allowing
    > the
    > user to stay logged into the site between browser sessions (the login page
    > makes use of the RedirectFromLoginPage method).
    >
    > In doing so, I am getting an intermittent error:
    >
    > "The page requires session state that is no longer available. Either the
    > session has expired, the client did not send a valid session cookie, or
    > the
    > session state history size is too small. Try increasing the history size
    > or
    > session expiry limit."
    >
    > This happens when a user tries to re-submit a form that has data driven
    > drop
    > down boxes. The weird thing is, the form works on the first pass; but, if
    > the user drills down into the site, then uses the "Back" button to get
    > back
    > to the form, they get the error. They can bypass it by clicking the link
    > to
    > bring up the form, which then re-populates all the drop down boxes.
    >
    > I have a sense that this is something simple, but have no idea what it
    > might
    > be. Any help is appreciated, thanks.
    >
    >
    >
     
    JeffP@Work, Sep 26, 2006
    #2
    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. Jeff Smythe
    Replies:
    3
    Views:
    1,326
    Jeff Smythe
    Jan 2, 2004
  2. jhagerty
    Replies:
    0
    Views:
    477
    jhagerty
    Aug 28, 2006
  3. jnickfl1
    Replies:
    0
    Views:
    631
    jnickfl1
    Sep 18, 2006
  4. archana
    Replies:
    0
    Views:
    369
    archana
    Mar 13, 2007
  5. chen selina
    Replies:
    0
    Views:
    1,392
    chen selina
    Jul 13, 2010
Loading...

Share This Page