ASP.NET and frameset

G

Goran Djuranovic

Hi everyone,
I have an ASP.NET application with NT authentication turned on. The default
page is an .HTM page with the frameset in it. Frameset contains 3 frames
(top, left, main), and each of those frames calls different .ASPX page. Now,
the problem is that the user gets prompted to login to the site three times,
once for each of the frames (.ASPX pages). I am pretty sure it is the
frameset causing this because, when I test each page individually, I get
prompted one time.

Does anyone know how to get around this?
 
A

ASP.Confused

Sounds like 3 separate session states are being created.

Are all of the aspx pages located on the same server, and within the same
BIN folder?
Are you using relative or absolute links for the frames?

As I have never used more than 1 aspx page within a frame, I cannot help you
out as much.

Sincerely,
ASP.Confused
 
B

bruce barker

change the frameset to an aspx page, so authentication happens before the
frameset is loaded.

-- bruce (sqlwork.com)
 
G

Goran Djuranovic

It's not the sessions because the application is not clustered across
multiple servers. I was able to get around the problem by converting the top
frame (TopFrame.aspx) into an .HTM file. The conversion worked in my case
because the "TopFrame.aspx" page contained only an image, and didn't use any
server side scripting.

Thanks for your response
Goran Djuranovic
 

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
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top