|
| |
|
|
freeman24147
Posts: 8 Joined: 1/25/2008 Status: offline
|
Response.Redirect passes only one parameter - 2/27/2008 2:36:57
I've modified the Response.Redirect from the Frontpage Edit page to pass a new parameter string for the login.asa: <% If Session(SiteID) <> true Then Response.Redirect("accomplishments/editor/Login.asp?requester=http://www.evaguru.com/pmpro/accomplishments/accomp_edit.asp?proj=" & Request("Proj") & "&k=" & Request("k")) End If %> Problem is that it's not passing the second parameter, anything after Request(Proj). when I do a Response.Write, all I get is: http://www.evaguru.com/pmpro/accomplishments/accomp_edit.asp?proj=1001 I don't even get a blank space for the &. I doesn't even pick up the "k=" string. Do you know why it's not picking up the values after the first request? I use this double request all throughout my site, and every thing else works fine. I guess I should just use Spooky's login anyway, right? But now I really want to know. Thanks in advance
|
|
|
|
freeman24147
Posts: 8 Joined: 1/25/2008 Status: offline
|
RE: Response.Redirect passes only one parameter - 2/29/2008 2:21:24
Spooky, After more experimenting, it turns out the "&" is causing the problem. I even tried: Response.Redirect("accomplishments/editor/Login.asp?requester=http://www.evaguru.com/pmpro/accomplishments/accomp_edit.asp?proj=" & Request("Proj") & "k=" & Request("k")) It returns: http://www.evaguru.com/pmpro/accomplishments/accomp_edit.asp?proj=1001k=43 But as soon as I add the & between the Proj and K: Request("Proj") & "&k=" & Request("k")) it terminates the string at the Proj variable. I tried using Ascii, but that starts off with an &, so that's a no-go. What am I doing wrong?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|