0

I am creating web portal in asp.net 4.0 where i have to send http web request to 3rd party server and getting large volume of resultset which is to be a user specific. My problem is,where do i store these data temporally?

Is there a better way to store large results set temporarily?

Response which we are getting from http webrequest is specific to different users (request basis) and we must keep the data until user complete shopping or booking so do not know how long we keep the data.

adding more :

We were thhinking to use session object , but due to large volume of data, we can not use it as it will consume server memory.

Second option, we can use sql relational database, but website is consuming data from httpweb response so we do not have control the 3rd party service.

4

1 回答 1

1

Session通常存储在服务器内存中,因此不是存储大量数据的好地方。我会建议一个 SQL 表,但所有事情都是相对的......这个数据有多大?如果您有多个 Web 服务器,则会话状态可能已移至 SQL,因此最好直接转到那里。

于 2013-10-24T15:12:07.597 回答