T
Terry Holland
I passed my 70-305 exam about 4 months ago and have not used any asp.net
since
I am therefore embarrassed to ask the following question.
Im in the process of designing an ASP.Net application. Users will be
required to login and once authenticated be able to use the services
available to them on the site. They will build up what is effectively a
'shopping basket' and this will need to be available on a number of pages
that they might visit during their session.
I think I'm right in saying that this information is best stored in a
session variable.
(Embarrassing bit) What im not sure about is the way to move between forms.
Im trying to use an HTML Submit button with no success
<body>
<form id="Form1" method="post" action="WebForm2.aspx" runat="server">
<INPUT type="submit" value="Submit">
</form>
</body>
This is the html (except action) that is generated when I add HTML Submit
button on page. This works if I remove runat="server", so Im wondering why
the runat is put there.
If I do move to another page using Form Post, how do I read the values
posted by this form in the next page and how can I use these values in a
code behind page?
tia
Terry Holland
since
I am therefore embarrassed to ask the following question.
Im in the process of designing an ASP.Net application. Users will be
required to login and once authenticated be able to use the services
available to them on the site. They will build up what is effectively a
'shopping basket' and this will need to be available on a number of pages
that they might visit during their session.
I think I'm right in saying that this information is best stored in a
session variable.
(Embarrassing bit) What im not sure about is the way to move between forms.
Im trying to use an HTML Submit button with no success
<body>
<form id="Form1" method="post" action="WebForm2.aspx" runat="server">
<INPUT type="submit" value="Submit">
</form>
</body>
This is the html (except action) that is generated when I add HTML Submit
button on page. This works if I remove runat="server", so Im wondering why
the runat is put there.
If I do move to another page using Form Post, how do I read the values
posted by this form in the next page and how can I use these values in a
code behind page?
tia
Terry Holland