Forms authentication & frames

M

Martin

Hi,

After I gave up on tracking user sessions through the session object
(Session_OnEnd is still not triggered by Abandon() even with mode=InProc and
me manipulating session variables; in a new test project it is only
triggered the first time, it really sucks pretty bad) I started looking at
alternatives and I found FormsAuthentication. I just implemened it and it
seems very nice. But, of course, there is a problem with it (it wouldn't be
fun if it all just worked straight away, right?).

My entry-page is a frame set. Now the trouble is that the login page to
which I am automatically redirected before I get to this page with the frame
set does not embed nicely into the targeted frame. It is a matter of
sequence I guess, I do have

<base target="RightPane" />

in mij login.aspx file but there is no RightPane until I am authenticated
and the frame set gets executed in the browser.

After the second redirect (when I have been authenticated) it gets worse.
The frame set embeds my home page as it should, but any subsequent pages I
navigatye to appear "full screen", disregarding the frame set where they
used to be embedded in because of the base tag. Does anyone how to handle
this nicely?

I think what I want is authentication to ignore my frame set page (to allow
anonymous visitors to it). I read something about location tags in
web.config. Could these be helpful? This would all be work-arounds though, I
am interested to head about your ideas on the matter.

Regards, Martin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top