.NET Follower said:
hi,
basically in login code
we store userid in session
and then check on each page
if that Sesssion[userid] exists
Yeah, I can do that.... but..... we use Windows authentication on our
Intranet so if we detect that the cookie doesn't exist (say, due to 20
mins inactivity) then we re-direct to a login page, but of course
windows thinks that the user is still logged on so immedaitely
re-authenticates (even if they logged on to the PC using a generic acct
and logged on to the web app thro' IE)
How can we cancel or revoke that (IE set) authentication to make the
user have to re-authenticate to the web app. I have seen a quite
complex method of using forms authentication to authenticate against an
active directory, but this seems to require passords being sent in plain
text (or the setting up of SSL to protect them.)
One final Q. Session variables relate to that user session (that is the
local browser session)... yes?
1. How do they cope with opening new windows from the original one?
2. can a session variable (which is essentially a cookie) that has been
set by
http://intranetserver1/webapp1 be read by
http://intranetserver2/someotherwebapp ? (assuming both apps know the
name of the session var.)