sessions and forms authentication tickets
From: Justin Morris via DotNetMonster.com (forum_at_nospam.DotNetMonster.com)
Date: 04/10/05
- Previous message: Steven K0: "Basic authentication re-direct"
- Next in thread: Paul Glavich [MVP ASP.NET]: "Re: sessions and forms authentication tickets"
- Reply: Paul Glavich [MVP ASP.NET]: "Re: sessions and forms authentication tickets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Steven K0: "Basic authentication re-direct"
- Next in thread: Paul Glavich [MVP ASP.NET]: "Re: sessions and forms authentication tickets"
- Reply: Paul Glavich [MVP ASP.NET]: "Re: sessions and forms authentication tickets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|