IFrame Problem

Tamer_Ahmed

Centurion
Joined
Dec 20, 2003
Messages
159
Location
Egypt
hi all i have 2 web site
first site contain page need query string paramete called ProductID
and the other web site contain web page with Iframe to get the other page
i have link in my first web site let me redirect to the other web site which contain the iFrame
i want the iframe change depending on the parameter on my page
can any body help
 
Visual Basic:
iframeControl.Attributes("src") = Server.HtmlEncode(Request.QueryString("page"))

Obviously you'll need to add in further checks to prevent additional XSS vulnerabilities. Ideally, the "page" variable should be an integer value which maps to the actual page.
 
Back
Top