new session created when changing pages



I have a set of pages with C# code attached to manage session information.
They hang their info off of the session string and store it in a MSDE table.
I have all of this code working well in one app and started another app which
needed much of the same functionality. So I copied the pages, code behinds,
web.config and appropriate DB tables to the new app (all on localhost) and
find that I am get redirected every time I login back to my login because
..IsNewSession always comes up true on the page after the login.

Just in case I messed something up, I went back and checked my old pages and
found that they were behaving fine. I double checked that the login was happy
and creating the DB information, and it is. Asp.Net / IIS seems to just be
creating a new session for every page I load in this second app.

I am hoping that someone has a couple of pointers to save me having to take
this app apart. I'm figuring I missed a setting somewhere, and I am pretty
new at Asp.Net (I had been doing CGI and / or PHP up til 2004).

TIA for any input!

Robb Sadler
.



Relevant Pages

  • Cannot open database requested in login ASPState. Login fails. Login failed for user sa.
    ... Visual Studio app, I got round to the option for storing the state in SQL ... sessionState statement (so the app runs with the default in-proc session ... What is causing the login failure? ... Cannot open database requested in login 'ASPState'. ...
    (microsoft.public.sqlserver.security)
  • Session timeout problem...
    ... During the login, in code behind I have dynamically created a public shared ... When the user clicks logout menu option from my app I also have code behind ... session will time out. ... ran some test code in the application start sub in global.ascx to log each ...
    (microsoft.public.dotnet.general)
  • Session object timout
    ... must go through a login page. ... Upon logging in I set some properties in a ... to a session object which I named "CurrentUserInfo". ... Since the app relies on retrieving only information for the company of which ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Running tasks through SSH
    ... > run that task and shut down my SSH session... ... > shut down VNC when I am not checking up on it). ... before running your app, execute screen. ... need to login remotely to resume your screen'd session. ...
    (alt.os.linux.redhat)
  • Re: Session object and coockies in asp.net
    ... paths when linking to other pages, images, etc within your app. ... > and I can be safe using the session information I am saving. ... >> If the client is configured to disallow cookies, ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast