iframe and session troubles

I

Iwan Adler

hi

ich have an asp.net application.
on the index.aspx page are 2 iframes. these iframes contain a src to another
aspx page from my application.

the index page is cached from the iis, also the first requests, that arrive
to the application are the 2 from the iframes.
now, for each request it generates a new session with a new session-id. but
i only expect one session, because it is the same browser and the same
application.

can someone help me?

thx a lot
iwan
 
G

Guest

This is always an issue since on each frame's initial request, it starts a
separate session. As a general rule:

1. Frames are Evil
2. The Devil created Frames

Having said that, I've seen some workarounds, but they are complex. If you
need session, then a good way to solve the problem is to "not need" Frames.

Just my 2 cents though.

Peter
 
A

Alex D.

how come do I have an iframe that shares the same session variables created
by the page that contains it?? it works just fine!

alex.
 

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

Forum statistics

Threads
473,744
Messages
2,569,481
Members
44,900
Latest member
Nell636132

Latest Threads

Top