Passing values across pages ASP.net

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-04-07T12:02:53Z Indexed on 2010/04/07 12:23 UTC
Read the original article Hit count: 212

Filed under:
|
|

Hi i need to pass a long list of Ids from one page to another, i was thinking of using querystring but taking in consideration that the number of ids to be passed may reach 300 i think is not a good idea. an option from my understanding may be the use of session, this seems to me an optimal solution in my case but on the other hand

I can certainly clear the session when the user performs a certain action and the list of ids is not longer needed, but if the user leaves the page without performing any action i want to clear the session, how can i do it?

If multiple users are using the same functionality do i need the session's items to be confused or the session is for a single user?

I am working in asp.net c#

Thanks

© Stack Overflow or respective owner

Related posts about session

Related posts about ASP.NET