|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Can I have a form submit to a second page, then have the second page send back a flag
I got a form on page1 that submits its element values to page 2. I want to check these values on page 2 and then set a flag to Y or N. When page 1 reloads, I want to check the flag it receives and display an alert based on it. Possible?
|
|
#2
|
||||
|
||||
|
This seems to be a continuation of this thread:
http://forums.aspfree.com/asp-development-5/how-do-i-escape-the-ampersand-225366.html maybe a mod can join the two together? Again - please post your code for us to see, it is hard to help without it. But one way you might be able to achieve this would be to set a session variable on the second page before you redirect back to page 1, you could then check for the value of the session variable. |
|
#3
|
|||
|
|||
|
I would submit everything on the same page.
|
|
#4
|
|||
|
|||
|
I'll post all related material in this topic. I have a new question:
When passing a variable through the session from the second ASP page back to the first when returning from a form submission, can the session variable be an array? |
|
#5
|
||||
|
||||
|
Quote:
yes Code:
Session("Stooges") = Array("Curly","Mo","Larry")
If isArray(Session("Stooges")) Then
For each stooge in Session("Stooges")
Response.Write stooge & "<br>"
Next
Response.Write "<hr>" & _
"1." & Session("Stooges")(0) & "<br>" & _
"2." & Session("Stooges")(1) & "<br>" & _
"3." & Session("Stooges")(2) & "<br>"
End If
%>
__________________
Please give respect to those that helped solve an issue by clicking on the reputation icon
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Can I have a form submit to a second page, then have the second page send back a flag |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|