Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session variables and IFRAME

Status
Not open for further replies.

ikalair

Programmer
Jun 4, 2002
25
US
Hello

I have an .asp file that has a session variable declared on it. This page also has an IFRAME embedded in it. The problem i'm having is that I'm losing the value of my session variable as long as the IFRAME is on my page. If i delete the IFRAME code, then everything is well.

There is no session variable set on the page that the IFRAME calls. Data that i insert to a database is not reflected properly if my session variable is set on this page.

Is there some sort of compatability issue between session variables and IFRAMES? I'm only concerned about using this with IE. I'm currently using 6.0
 
>> a session variable declared on it.

I don't know what that means. A Session variable is not part of a ASP page it is part of the users Session.

Can you re-create the problem using a basicall empty page with nothing but the two features your post talks about?

1) a session variable declared on it (whatever that means)
2) an IFRAME in the page.

If you can re-create the problem doing that then post that very small ASP page code to this thread.

-pete
[sub]I just can't seem to get back my IntelliSense[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top