Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 26th, 2003, 04:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default Response.Redirect problem

Respons.Rediect can move the value ?
I want the when page move by Response.Redirect it also move the stn_no value.
How can move stn_no by Response.Redirect ? from second form to third form ?

Checksoftware.asp (second form)
-------------------------------
stn_no=Request.Form("stn_no")

Response.Redirect("Addnew_Soft.asp?stn_no=stn_no") // here is problem



Addnew_Soft.asp (third form)
-------------------------
stn_no=Request.QueryString("stn_no")

stn_no=Request.Form("stn_no")
Response.Write(stn_no)


How can received stn_no value in Addnew_Soft.asp ?


Mateen
 
Old October 27th, 2003, 07:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

This line
Response.Redirect("Addnew_Soft.asp?stn_no=stn_no")

should be changed to this:
Response.Redirect("Addnew_Soft.asp?stn_no=" & stn_no)

so that you pass whatever is held in the variable stn_no.
 
Old October 28th, 2003, 12:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks.

Quote:
quote:Originally posted by pgtips
 This line
Response.Redirect("Addnew_Soft.asp?stn_no=stn_no")

should be changed to this:
Response.Redirect("Addnew_Soft.asp?stn_no=" & stn_no)

so that you pass whatever is held in the variable stn_no.
 
Old May 14th, 2005, 05:57 AM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This post is big help for me






Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.Redirect Problem msbsam ASP.NET 2.0 Basics 0 February 10th, 2007 03:28 AM
problem with cookies using response.redirect chaituat ASP.NET 1.0 and 1.1 Basics 1 March 23rd, 2006 02:54 PM
problem with cookies using response.redirect chaituat ASP.NET 1.0 and 1.1 Professional 0 March 23rd, 2006 02:09 PM
response.redirect crmpicco Classic ASP Basics 3 February 9th, 2005 01:50 AM
problem faced with response.redirect anandkolar Classic ASP Professional 0 November 12th, 2003 08:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.