How can I send an array of strings from one ASP.NET page to another?

Posted by Andrei on Stack Overflow See other posts from Stack Overflow or by Andrei
Published on 2010-06-01T10:02:29Z Indexed on 2010/06/01 10:13 UTC
Read the original article Hit count: 186

Filed under:
|
|

Hello.

I now have two asp.net pages. When I click on a link on page A, I open the other one (let's call it page B). When I do this, I want to send some information from Page A to Page B in the form of an array of strings. This array is different depending on what link I follow on Page A.

I know I could send this information via the URL with the ?string1=bla1&string2=bla2 etc., but I don't want it that way, as it can get complicated if there are too many strings in the array.

I think there is something similar, like a POST in PHP, but how would that be in ASP?

Any help would be appreciated. Thanks.

Cheers!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET