Today, we met a most abnormal parameter passing page.

Source: Internet
Author: User

Create a project. Find a good system score !!!!!. Otherwise, you will be killed :(
Now the page is subdivided into this.

Page Structure:
Homepage A without frame. The url main =... specifies the page of Page C of the sub-framework in framework B.
Main Interface B in frame mode
On page C of the molecular framework, you need to obtain the Chinese parameters in the URL.

1. Depressing 1:
For URL <a href = "Manage_PlanSum_List.aspx? MODNAME = work plan & TAB_NAME = annual plan & TAB_ID = 0 ">
Request. QueryString ["TAB_NAME"] OK. Retrieve "Annual Plan"
However,
<A href = "Manage_PlanSum_List.aspx? MODNAME = meeting study records & TAB_NAME = Director Office Meeting & TAB_ID = 0 ">
Request. QueryString ["TAB_NAME"] is actually "director's office meeting? & TAB_ID = 0"
No way. Change to <a href = "Manage_PlanSum_List.aspx? MODNAME = % e4 % bc % 9a % e8 % AE % e5 % ad % a6 % e4 % b9 % a0 % e8 % AE % b0 % e5 % bd % 95 & TAB_NAME = % e6 % 89% e9 % 80% bf % e5 % 8a % 9e % e5 % 95% ac % e4 % bc % 9a % e8 % AE & TAB_ID = 0 '> Solution problem.

Depressing 2:

However. . An error occurred from A to B.
In the past, page A wrote <main = Manage_PlanSum_List.aspx? MODNAME = % e4 % bc % 9a % e8 % AE % e5 % ad % a6 % e4 % b9 % a0 % e8 % AE % b0 % e5 % bd % 95 & TAB_NAME = %...>
<Frame name = "leftFrame1" scrolling = "no" noresize src = "left13.htm">
<Frame name = "mainFrame" src = <% = Request. QueryString ["MAIN"] %>
& TAB_NAME is truncated as another parameter. :(

Finally, you have to change it
Homepage A is like this.
<TABLE class = "z12" cellSpacing = "0" cellPadding = "0" border = "0">
<TR>
<TD> </TD>
<TD width = "85"> <A onmouseover = "MM_swapImage ('image15','', 'images/77.jpg ', 1) "onmouseout =" MM_swapImgRestore ()"
Href = "index. aspx? LEFT = Routine/Capital_Left.aspx & amp; MAIN = Routine/Meetiongs_List.aspx>... </A> </TD>
</TR>
</TABLE>

On the B Framework page
<Frameset cols = "*, 10" frameborder = "NO" border = "0" framespacing = "0">
<Frameset rows = "10, *" frameborder = "NO" border = "0" framespacing = "0">
.....
<Frame name = "leftFrame1" scrolling = "no" noresize src = "left13.htm">
<%
String main = Request. QueryString ["MAIN"];
If (Request. QueryString ["MAIN"] = "Routine/Meetiongs_List.aspx ")
{
Main = main + "? MODNAME = % e4 % bc % 9a % e8 % AE % e5 % ad % a6 % e4 % b9 % a0 % e8 % AE % b0 % e5 % bd % 95 & TAB_NAME = % e6 % 89% e9 % 80% bf % e5 % 8a % 9e % e5 % 95% ac % e4 % bc % 9a % e8 % AE & TAB_ID = 0 ";
}
%>
<Frame name = "mainFrame" src = <% = main %>
</Frameset>
</Frameset>

Depressing 3: The oledb driver of Oracle 816 is very poor in. net support. Yes. Inexplicable error. The same SQL statement is good or bad. Unstable: (You have to install 817 client. I wonder if it would be better if I switched to Oracle Client. At that time, the system portability was broken down. Do not use Oracle Client, write with OleDB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.