Session problem? not holding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grant

    #1

    Session problem? not holding

    We have over 130 new users that signed on within 3 weeks. Once in a great
    while we get email from some user who cannot create account successfully.



    Here is the scenario



    New user will need to create an account so they will click on create account
    button. First page will ask for special code and then click on continue
    which they have no problem with and the code is stored in session before
    moving on to next page. The 2nd page is where the user will create the user
    name, password, enter address, and so on. There is two buttons on that page
    that are clear and continue. When the user clicks on continue, it will save
    those information to the database and some into session that needs to be
    carry over to the 3rd page. When they click on continue, it takes them back
    to the home page (default.aspx) and no data is stored into the database (MS
    SQL). We have two users so far that cannot do this. I am guessing it is
    settings in the Internet browser but any idea what I need to look for?
    Session expired?



    I use response.redire ct to control, which pages they need to go to. In the
    continue button click event, there is only one response.redire ct that takes
    them to the 3rd page. On the 3rd page' load event, I check for session
    (username) for emptiness and if it is then I send them to the default page
    so obvious something is wrong with the session. I am thinking it is expired
    or settings in the Internet browser but what do I check for?


  • Vaibhav

    #2
    Re: Session problem? not holding

    Since it is a some specific users issue, it is most likely to be some
    settings in their browser. Just check in the
    Tools-->Internet Options-->Privacy-->Advanced that browser is configured to
    accept cookies.
    Alternatively try using sessionless cookies and see if that makes the users
    work.

    HTH


    options
    "Grant" <Grant@nutrikid s.com> wrote in message
    news:OyU9SNdYDH A.1384@TK2MSFTN GP10.phx.gbl...[color=blue]
    > We have over 130 new users that signed on within 3 weeks. Once in a great
    > while we get email from some user who cannot create account successfully.
    >
    >
    >
    > Here is the scenario
    >
    >
    >
    > New user will need to create an account so they will click on create[/color]
    account[color=blue]
    > button. First page will ask for special code and then click on continue
    > which they have no problem with and the code is stored in session before
    > moving on to next page. The 2nd page is where the user will create the[/color]
    user[color=blue]
    > name, password, enter address, and so on. There is two buttons on that[/color]
    page[color=blue]
    > that are clear and continue. When the user clicks on continue, it will[/color]
    save[color=blue]
    > those information to the database and some into session that needs to be
    > carry over to the 3rd page. When they click on continue, it takes them[/color]
    back[color=blue]
    > to the home page (default.aspx) and no data is stored into the database[/color]
    (MS[color=blue]
    > SQL). We have two users so far that cannot do this. I am guessing it is
    > settings in the Internet browser but any idea what I need to look for?
    > Session expired?
    >
    >
    >
    > I use response.redire ct to control, which pages they need to go to. In the
    > continue button click event, there is only one response.redire ct that[/color]
    takes[color=blue]
    > them to the 3rd page. On the 3rd page' load event, I check for session
    > (username) for emptiness and if it is then I send them to the default page
    > so obvious something is wrong with the session. I am thinking it is[/color]
    expired[color=blue]
    > or settings in the Internet browser but what do I check for?
    >
    >[/color]


    Comment

    • Grant

      #3
      Re: Session problem? not holding

      I am fairly new, how would I go sessionless cookies?


      "Vaibhav" <consultvaibhav @yahoo.com> wrote in message
      news:ejnqCzdYDH A.1384@TK2MSFTN GP10.phx.gbl...[color=blue]
      > Since it is a some specific users issue, it is most likely to be some
      > settings in their browser. Just check in the
      > Tools-->Internet Options-->Privacy-->Advanced that browser is configured[/color]
      to[color=blue]
      > accept cookies.
      > Alternatively try using sessionless cookies and see if that makes the[/color]
      users[color=blue]
      > work.
      >
      > HTH
      >
      >
      > options
      > "Grant" <Grant@nutrikid s.com> wrote in message
      > news:OyU9SNdYDH A.1384@TK2MSFTN GP10.phx.gbl...[color=green]
      > > We have over 130 new users that signed on within 3 weeks. Once in a[/color][/color]
      great[color=blue][color=green]
      > > while we get email from some user who cannot create account[/color][/color]
      successfully.[color=blue][color=green]
      > >
      > >
      > >
      > > Here is the scenario
      > >
      > >
      > >
      > > New user will need to create an account so they will click on create[/color]
      > account[color=green]
      > > button. First page will ask for special code and then click on continue
      > > which they have no problem with and the code is stored in session before
      > > moving on to next page. The 2nd page is where the user will create the[/color]
      > user[color=green]
      > > name, password, enter address, and so on. There is two buttons on that[/color]
      > page[color=green]
      > > that are clear and continue. When the user clicks on continue, it will[/color]
      > save[color=green]
      > > those information to the database and some into session that needs to be
      > > carry over to the 3rd page. When they click on continue, it takes them[/color]
      > back[color=green]
      > > to the home page (default.aspx) and no data is stored into the database[/color]
      > (MS[color=green]
      > > SQL). We have two users so far that cannot do this. I am guessing it is
      > > settings in the Internet browser but any idea what I need to look for?
      > > Session expired?
      > >
      > >
      > >
      > > I use response.redire ct to control, which pages they need to go to. In[/color][/color]
      the[color=blue][color=green]
      > > continue button click event, there is only one response.redire ct that[/color]
      > takes[color=green]
      > > them to the 3rd page. On the 3rd page' load event, I check for session
      > > (username) for emptiness and if it is then I send them to the default[/color][/color]
      page[color=blue][color=green]
      > > so obvious something is wrong with the session. I am thinking it is[/color]
      > expired[color=green]
      > > or settings in the Internet browser but what do I check for?
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Carl Prothman [MVP]

        #4
        Re: Session problem? not holding

        "Grant" <Grant@nutrikid s.com> wrote[color=blue]
        > I am fairly new, how would I go sessionless cookies?
        >[/color]

        Open the web.config file and search for the <sessionState tag.
        Then set cookieless="tru e"


        --

        Thanks,
        Carl Prothman
        Microsoft ASP.NET MVP



        Comment

        Working...