-
Passing mulitple values via MagicCell [again]
People,
I've got a frstrating problem when passing values from one page to another via magic cell and HREF. I can pass most values fine, but am having difficulties when the field value contains a plus sign '+'
In ALL cases when this occurs, the '+' is omitted from the end result when it is actually part of the passed field value. I need this value and cannot substitute it with another. the recieving page simply drops the value and replaces it with a space.
Is there any way this can be protected and passed as designed without being interpreted otherwise ? Is there a problem with passing special characters as part of a field value ? How can I do this otherwise ?
Many thanks,
Tim
-
Passing mulitple values via MagicCell [again] (reply)
Hi Tim,
Are you doing a "URLEncode" with your MagicCell?
This is an optional feature of MagicCell.
Maybe that's all you need to do.
Mark.
------------
Tim Davidge at 3/22/01 2:35:25 PM
People,
I've got a frstrating problem when passing values from one page to another via magic cell and HREF. I can pass most values fine, but am having difficulties when the field value contains a plus sign '+'
In ALL cases when this occurs, the '+' is omitted from the end result when it is actually part of the passed field value. I need this value and cannot substitute it with another. the recieving page simply drops the value and replaces it with a space.
Is there any way this can be protected and passed as designed without being interpreted otherwise ? Is there a problem with passing special characters as part of a field value ? How can I do this otherwise ?
Many thanks,
Tim
-
Passing mulitple values via MagicCell [again] (reply)
give an example !
FK
------------
Mark at 3/22/01 2:51:28 PM
Hi Tim,
Are you doing a "URLEncode" with your MagicCell?
This is an optional feature of MagicCell.
Maybe that's all you need to do.
Mark.
------------
Tim Davidge at 3/22/01 2:35:25 PM
People,
I've got a frstrating problem when passing values from one page to another via magic cell and HREF. I can pass most values fine, but am having difficulties when the field value contains a plus sign '+'
In ALL cases when this occurs, the '+' is omitted from the end result when it is actually part of the passed field value. I need this value and cannot substitute it with another. the recieving page simply drops the value and replaces it with a space.
Is there any way this can be protected and passed as designed without being interpreted otherwise ? Is there a problem with passing special characters as part of a field value ? How can I do this otherwise ?
Many thanks,
Tim
-
Passing mulitple values via MagicCell [again] (reply)
Mark and Frank,
Here is the resulting URL:
http://127.0.0.1/asp_rules_distinct_head.asp?Months=NA&Type=SEQ&Rul e_Head=AA_NEG+AXP_NEG&Table=TWODAY_RESULTS_DJIA_SE Q
However the REQUEST variable "RULE_HEAD" becomes "AA_NEG AXP_NEG" where it is missing the "+". This results form the following MAGICCELL code:
mcell = mcell & "Months, Align=right,<A HREF= asp_rules_distinct_head.asp?Months=#1#&Type=" & Type1 & "&Rule_Head=" & Head & "&Table=" & Name & "><FONT COLOR=green><B>#1#</B></FONT></A>;"
Any ideas on how to fix this ?
Many thanks,
Tim
------------
Frank Kwong at 3/22/01 10:50:48 PM
give an example !
FK
------------
Mark at 3/22/01 2:51:28 PM
Hi Tim,
Are you doing a "URLEncode" with your MagicCell?
This is an optional feature of MagicCell.
Maybe that's all you need to do.
Mark.
------------
Tim Davidge at 3/22/01 2:35:25 PM
People,
I've got a frstrating problem when passing values from one page to another via magic cell and HREF. I can pass most values fine, but am having difficulties when the field value contains a plus sign '+'
In ALL cases when this occurs, the '+' is omitted from the end result when it is actually part of the passed field value. I need this value and cannot substitute it with another. the recieving page simply drops the value and replaces it with a space.
Is there any way this can be protected and passed as designed without being interpreted otherwise ? Is there a problem with passing special characters as part of a field value ? How can I do this otherwise ?
Many thanks,
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|