Simple variable problem

Results 1 to 3 of 3

Thread: Simple variable problem

  1. #1
    blooper Guest

    Default Simple variable problem

    I am trying to redirect as follows...<BR><BR>If ipageID = "messages" Then <BR><BR>Response.Redirect "postmessage.asp?siteid="&isiteID&""<BR><BR>El se <BR><BR>Response.Redirect "addcomment.asp?siteid="&isiteID&"&pageID="&iPageI D&""<BR><BR><BR>When I run it I get redirected to<BR>..addcomment.asp?siteid=35&pageID=messages !!<BR><BR>What am I doing wrong?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Simple variable problem

    it&#039;s more than likely a Case or Padding issue...<BR><BR>Change: If ipageID = "messages" Then <BR><BR>with: If trim(lcase(ipageID)) = "messages" Then <BR><BR>that should fix it.<BR><BR>Regards,<BR><BR>Carl.<BR>

  3. #3
    blooper Guest

    Default Alas, no difference... (end)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts