2 added 35 characters in body
source | link

I have not read the book but I did some searching and it seems you may be referring to a short story from Stanislaw Lem possibly named IJON"IJON TICHY'S MEMORIESMEMORIES" (1960).

From StrangePegs:

Remember Stanislaw Lem (from this post)? Well, in 1960, he had a short story, "IJON TICHY'S MEMORIES," in which a scientist creates an entire virtual world (and, evidently, traps people within it). Trapped in this virtual world is another scientist who creates a virtual world. Yes, within the first one.

http://strangepegs.blogspot.ca/2012/04/a-to-z-of-fiction-to-reality-virtual.html

I have not read the book but I did some searching and it seems you may be referring to a short story from Stanislaw Lem possibly named IJON TICHY'S MEMORIES

Remember Stanislaw Lem (from this post)? Well, in 1960, he had a short story, "IJON TICHY'S MEMORIES," in which a scientist creates an entire virtual world (and, evidently, traps people within it). Trapped in this virtual world is another scientist who creates a virtual world. Yes, within the first one.

http://strangepegs.blogspot.ca/2012/04/a-to-z-of-fiction-to-reality-virtual.html

I have not read the book but I did some searching and it seems you may be referring to a short story from Stanislaw Lem possibly named "IJON TICHY'S MEMORIES" (1960).

From StrangePegs:

Remember Stanislaw Lem (from this post)? Well, in 1960, he had a short story, "IJON TICHY'S MEMORIES," in which a scientist creates an entire virtual world (and, evidently, traps people within it). Trapped in this virtual world is another scientist who creates a virtual world. Yes, within the first one.

1
source | link

I have not read the book but I did some searching and it seems you may be referring to a short story from Stanislaw Lem possibly named IJON TICHY'S MEMORIES

Remember Stanislaw Lem (from this post)? Well, in 1960, he had a short story, "IJON TICHY'S MEMORIES," in which a scientist creates an entire virtual world (and, evidently, traps people within it). Trapped in this virtual world is another scientist who creates a virtual world. Yes, within the first one.

http://strangepegs.blogspot.ca/2012/04/a-to-z-of-fiction-to-reality-virtual.html