how to pass Data |
3/31/2008 22:33:39 | |
| ASPRunnerPro General questions | ||
|
M
mrkuwait author
Hi, |
||
|
J
|
Jane 4/1/2008 |
|
Hi, |
|
|
M
|
mrkuwait author 4/1/2008 |
Hi, to pass value from ome page to another save value in the Session variable and then use this variables on the another page.
|
|
|
|
Sergey Kornilov admin 4/1/2008 |
|
Page 1: |
|
|
M
|
mrkuwait author 4/2/2008 |
Page 1: Session("SomeVariable") = "Some value" Page 2: Response.Write Session("SomeVariable")
|
|
|
J
|
Jane 4/3/2008 |
|
Here is a sample: ' Cname - Hyperlink value="" value = GetData(rs,"Cname", "Hyperlink") row.Add col & "Cname_value",value Session("Cname") = value |
|
|
M
|
mrkuwait author 4/6/2008 |
Here is a sample:
|
|
|
M
|
mrkuwait author 4/6/2008 |
|
oK tried it. when I search I get a list of customers. but when I click on a customer and the 2 page openes. now in the second page it does not show the customer name the one I clicked on. it picks customer name from page 1 though but the one last in the list. and not the one i click on ? I have spent more than 40 hours on this and still cant understand how to do it.. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=27675&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
|
|
|
M
|
mrkuwait author 4/7/2008 |
|
No Solution for me? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=27718&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
|
|
J
|
Jane 4/8/2008 |
|
Declare Session("Cname") as empty string before cycle and save all values in the Session("Cname") value. Session("Cname") = "" while not rs.eof and recno<=PageSize ... Session("Cname") = Session("Cname") & value ... wend |
|
|
M
|
mrkuwait author 4/8/2008 |
Declare Session("Cname") as empty string before cycle and save all values in the Session("Cname") value.
|
|
|
M
|
mrkuwait author 4/8/2008 |
|
wend ?? |
|
|
J
|
Jane 4/9/2008 |
|
It's difficult to tell you what's happening without seeing actual files. |
|
|
M
|
mrkuwait author 4/15/2008 |
|
What you told me works |
|