Re: Form authentication in page viewer web part?



Hi, Dan,

Thanks for your answer.

----------------------
when the SharePoint page reloads, it reloads the iframe the same way a
"brand new" I.E session would be opened in your app (it has no idea the user
was authenticated)
----------------------

I think this is the point I was looking for...
however, stranage architecture...

If this is correct behavior in the SP world, it means that we cannot simple
use exsiting web site that uses form authentication in page viewer web
part....We might have to modify exisitng web site code if we want to support
for SP world...
Do you think this is really what MS wants??

This would be what will happen when user requests the page that has page
viewer web part...

SP renders Page Viewer web part as iframe that points to my web app......
My app renders login page. (At this point, of course, authentication ticket
is not issued yet)...
User will enter id and password to log-in.
If it was successful, page will be redirected to main web app page.
(As you know, my issue was that it always redirects to login-page even
though it was successful)
This redirecting will happen in the same iframe...
Also, since form authentication works in the iframe, it won't affect to
parent page of the iframe....
I am not sure how "brand new" I.E session can be created in this
situation.....

Well, sorry if I didn't fully understand....however, still doesn't make
sense about it...

Thanks again.

.......................................................................TJ




"Dan Marth" wrote:

Yes, TJ........if a user logs into your app and then closes the browser,
when that same user re-opens the app they will have to authenticate again.
That is what SharePoint is doing, when the SharePoint page reloads, it
reloads the iframe the same way a "brand new" I.E session would be opened in
your app (it has no idea the user was authenticated). I hope that explains
it..........it about the best I can do.

No sure what is going on with your app and other operating systems but I
would get that fixed before trying to use the iframe in SharePoint. Also
make sure to use the code Adam gave you to keep the user authenticated when
the SharePoint page re-loads.

Dan
"TJ" <TJ@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CA35210A-76F5-4BA0-A29E-3AF085E49D40@xxxxxxxxxxxxxxxx
Yes, You are right Dan.
I have a seperate web app that uses form authentication. It is hosted in
Page Viewer we part in SP.
BTW, also thanks Adam for your answer.

Can you explain a little bit more about this?

What he is missing is that when the SharePoint page (not the
iframe) is refreshed, it's the same as a user authenticating to his app
(outside of SharePoint) then closing the browser and re-opening his app.

I am trying to understand what you meant by this...

You mean....

When user authenticates the login page if it is being hosted in page
viewer
web part, in successful log-in, it is same thing that user closes my app
and
re-open?......um....?

I think you are trying to explain to me why this behavor is happening to
the
login page in the page viewer web part.....

BTW, I tested this from Windows XP, 2003 and 2000 machine...
The strange thing is that Windows XP and 2003 didn't work like I explained
before...
However, when I tried to log-in from Windows 2000, it worked as
expected...I
could see the main page from Win2000 system.

Strange....um...

......................................................................TJ
"Dan Marth" wrote:

Ram,

I don't think he means "Form Authentication" to SharePoint , if so, Adam
and
I are way off. I think he has his own app, that a user can authenticate
via
a form. What he is missing is that when the SharePoint page (not the
iframe) is refreshed, it's the same as a user authenticating to his app
(outside of SharePoint) then closing the browser and re-opening his app.
What would the results be, pretty obvious, user has to authenticate
again.
That is why Adam and I suggested a cookie approach.

Dan

"ram" <ram.vilas@xxxxxxxxx> wrote in message
news:1141796690.332768.306860@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sharepoint doesnot support Form authentication







.



Relevant Pages

  • Re: Passing credentials to web app
    ... I want users to launch the webappout ofSharePoint, ... Are you using Windows Authentication? ... My goal is for the ASP.NET app not to have to ... SharePoint login and somehow pass the credentials from SharePoint to ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: ADAM handshaking very slow in a DMZ
    ... This is similar to what I see in SharePoint myself. ... This forms authentication piece just directs ... It also looks from your trace ... Key Exchange, Change Cipher Spec, Encrypted Handshake Message" ...
    (microsoft.public.windows.server.active_directory)
  • Authentication Sharing Across Apps
    ... For my part "B" question that I had (Login App was not returning ... authentication to calling app), I found the solution. ... Basically, in both the Login App and Calling App Web.Config, I did ... authenticated connection with SQL server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Authentication Issues with Vista Clients
    ... I'm having an authentication issue with one specific user...we run SBS 2003 ... he's having issues with Sharepoint. ... and logged in with his account, I've noticed it's doing it on them, too. ... account on all three Vista workstations and not the XP workstation. ...
    (microsoft.public.windows.server.sbs)

Loading