Connecting Tech Pros Worldwide Help | Site Map

Frameset prevent Asp.net authentication?

Jerron
Guest
 
Posts: n/a
#1: Nov 18 '05
I'm developing a web application embeded into my customer's existent web
site. they two sites are on hosted in different computers. the customers's
web site uses frameset. by clicking a link in the menu bar frame, the user
will see my application.

the strange thing happens here: if I use the "target=_blank", to jump out of
the frameset, as it is now, everything works as expected. but, if I remove
that attribute, my web application can't go through the login procedure when
it is in an other frame.

I use the form authentication. in the debug, I saw after I called the
FormsAuthentication.RedirectFromLoginPage method, the User.Identity.Name is
still empty, and Request.IsAuthenticated is still false, until I put the web
application in a standalone browser, without any framset.

I did a search but didn't find any helpful clue on this issue yet. can
anyone tell me what caused this problem and what is the workaround? thanks a
lot!


Jerron



vMike
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Frameset prevent Asp.net authentication?


The problem might be with third party cookies. Depending on the browser
setting, third party cookies won't be accepted in a frameset or iframe. I
don't know of anyway around it other than changing the browser setting or
being a trusted site.

"Jerron" <jerron@comcast.net> wrote in message
news:%23Qfz3OrvDHA.1908@TK2MSFTNGP10.phx.gbl...[color=blue]
> I'm developing a web application embeded into my customer's existent web
> site. they two sites are on hosted in different computers. the customers's
> web site uses frameset. by clicking a link in the menu bar frame, the user
> will see my application.
>
> the strange thing happens here: if I use the "target=_blank", to jump out[/color]
of[color=blue]
> the frameset, as it is now, everything works as expected. but, if I remove
> that attribute, my web application can't go through the login procedure[/color]
when[color=blue]
> it is in an other frame.
>
> I use the form authentication. in the debug, I saw after I called the
> FormsAuthentication.RedirectFromLoginPage method, the User.Identity.Name[/color]
is[color=blue]
> still empty, and Request.IsAuthenticated is still false, until I put the[/color]
web[color=blue]
> application in a standalone browser, without any framset.
>
> I did a search but didn't find any helpful clue on this issue yet. can
> anyone tell me what caused this problem and what is the workaround? thanks[/color]
a[color=blue]
> lot!
>
>
> Jerron
>
>
>[/color]


Closed Thread