IIS ASP - ASP Loop

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > September 2005 > ASP Loop





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ASP Loop
Shiraj

2005-09-26, 7:50 am

I have a problem,
I can display some text 5 times using a loop
and i want to pass those printed
values to another page when i clicked send button.if you know the method please
email me.
thank you.
(pooja_blacktulip@yahoo.com)

-----------------------------
This message is posted by http://asp.forumszone.com

Evertjan.

2005-09-26, 7:50 am

Shiraj wrote on 26 sep 2005 in microsoft.public.inetserver.asp.general:

> I have a problem,
> I can display some text 5 times using a loop
> and i want to pass those printed
> values to another page when i clicked send button.if you know the
> method please email me.
> thank you.
> (pooja_blacktulip@yahoo.com)


Does not seem possible serverside [ASP], because by "printed" I suppose you
mean put on the screen by the browser.

Please ask a clientside NG.



--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Bob Barrows [MVP]

2005-09-26, 7:50 am

Shiraj wrote:
> I have a problem,
> I can display some text 5 times using a loop
> and i want to pass those printed
> values to another page when i clicked send button.if you know the
> method please email me.
> thank you.
> (pooja_blacktulip@yahoo.com)
>


Put them into form elements and use the Send button to submit the form.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Bullschmidt

2005-09-29, 6:00 pm

Generally speaking you can pass variables from page to page by:

1) Posting form fields from one page to the next (or to the same page)
and on the page to retrieve the value strLName = Request.Form("LName")

2) Using a querystring such as Response.Redirect
"login.asp?lname=smith&fname=tom" and on the page to retrieve the values
strLName = Request.QueryString("lname") and strFName =
Request.QueryString("fname")

3) Using session variables such as Session("LName") = "Smith" and on the
page to retrieve the value strLName = Session("LName")

4) Using cookie variables such as Cookie("LName") = "Smith" and on the
page to retrieve the value strLName = Cookie("LName")

5) Storing data in a database on one page and then retrieving it from
the database on the other page.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample

<<
I have a problem,
I can display some text 5 times using a loop
and i want to pass those printed
values to another page when i clicked send button.if you know the method
please
email me.
thank you.[vbcol=seagreen]

*** Sent via Developersdex http://www.codecomments.com ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com