action URL issue-Pls help

Results 1 to 2 of 2

Thread: action URL issue-Pls help

  1. #1
    Join Date
    Dec 1969

    Default action URL issue-Pls help

    Hello,<BR><BR>I have this piece of code in my ASP Page to update the table and then close the window and redirect to someother page.<BR><BR>prevpage=REQUEST.SERVERVARIABLES("HTT P_REFERER") <BR>if action="act" then<BR> sqlup="UPDATE table1 SET STATUS=3 WHERE REQUEST_ID="&REQ_ID<BR> ObjDBConn.execute(sqlup)%&#062;<BR> <BR>&#060;script language="JavaScript"&#062;<BR> window.opener.location="viewcf.asp"<BR> window.close()<BR> &#060;/script&#062; <BR><BR>&#060;%end if%&#062;<BR><BR>How do i change the location to view.asp to the value in the prevpage.

  2. #2
    Join Date
    Dec 1969

    Default simply...


Posting Permissions

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