sessions and forms authentication tickets

From: Justin Morris via DotNetMonster.com (forum_at_nospam.DotNetMonster.com)
Date: 04/10/05

  • Next message: Colin Graham: "Login to admin system through login screen only"
    Date: Sun, 10 Apr 2005 16:43:06 GMT
    
    

    When implementing ASP.NET forms authentication everything worked out just
    fine. I wanted to add the UserID and UserFName to my usage so I would have
    this information throughout their session without having to return to the
    database. I am upgrading from ASP so my first thought is Session(?UserID?)
    which works fine if the user stays in the same folder (members). But if
    they click a link outside that folder and return to that folder the Session
    values I had set are now gone.

    I use the return path code so when they click the login link it takes them
    to the default.aspx login page without logging in again. Like I said
    earlier, when they login the Session values work, and if they click links
    in the same folder (members) the Session values work, but if they go to
    another folder and return to the members folder the Session values are gone.

    Should I not use Session(?Value?)? How can I add other values to the
    FormsAuth Ticket we created and use in my pages to display User Name?

    -- 
    Message posted via http://www.dotnetmonster.com
    

  • Next message: Colin Graham: "Login to admin system through login screen only"

    Relevant Pages

    • Re: Login control and restricted member pages
      ... As you said the login dialog prompts each time the page loading a image, ... protected folder. ... When a page display some images file, ... the root members folder isn't. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Disconnecting & Forcing Logoff
      ... Just configure redirection of the Start Menu and the Desktop to ... MCSE, CCEA, Microsoft MVP - Terminal Server ... or to the console session of a 2003 ... Folder Redirection, mandatory profiles, roaming profiles, ...
      (microsoft.public.windows.terminal_services)
    • RE: Asynchronous Web Service Method Failure
      ... When a session begins, I create a folder for that session in a virtual ... When the user requests a report, sometimes a stream is opened to load some ... the URL of the file is returned by the web service method. ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • RE: Asynchronous Web Service Method Failure
      ... folder and it allows me to have multiple apps share the report cache folder. ... >>When a session begins, I create a folder for that session in a virtual ... To open a stream, I use ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • Re: Path to document cantīt be found when opening .doc from webfolder (w2k3 TS server)
      ... the computer policy, clear the locally cached user profile and log on, the ... If you do not access it from a Terminal session, ... If you doesn't open it from a web folder in IE but from a common file ... >>Marcus Torstensson ...
      (microsoft.public.office.misc)