Redirect Problem

Results 1 to 3 of 3

Thread: Redirect Problem

  1. #1
    Rupali Guest

    Default Redirect Problem

    Hi,<BR> I want to redirect to an asp page from another one.The page to which i want to redirect consists of a sql query which has a request.form parameter.<BR>like "select * from mytable where id="+request.form("id")<BR>so ,when it redirected to this page,it does not get the request.form("id") and gets an error.I don&#039t want to use session.Is there any way to avoid this.<BR> please,can anyone help me.Thanx in advance.<BR>

  2. #2
    Ashish Mishra Guest

    Default RE: Redirect Problem

    You can populate the form values into an array and then pass the array to the redirected form, there you can get the values that you require, ofcourse its a cumbersome process, but its the only work around way that I know of.Why not use session variable, is there any constraint??

  3. #3
    Vivek Aggrawal Guest

    Default RE: Redirect Problem

    Hi<BR><BR>Use This for redirect<BR>Response.redirect("abc.asp?id="&IdValu e)<BR> <BR>Follow the following procedure for the Next Page:<BR>"select * from mytable where id="+ request("id")<BR><BR>Note:UseRequest("name of form element")<BR><BR>vivek

Posting Permissions

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