Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Gurus*
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...