I have a page with links that open a second pop-up window to display a
chart. I am passing a few data items in hidden fields using a traditional
http post (because I can't use a post-back which targets a new window)
Anyway, it basically works but I noticed a strange phenomenon. When the
pop-up page loads, I step thru retrieving the hidden data with several
request.form("data") statements. However, when the server processes the
first 3 or 4 lines of code, it isn't actually getting any of the posted data
(I can see this happening when I step thru the code using debug). But then
the server somehow realizes(?) what it missed and automatically goes back up
to the top of the page_load routine and tries again. On the second try it
reads the data correctly and goes on its merry way. It sort of looks like
some kind of timing issue where the server tries to read the post before the
data actually gets there and then realizing the problem, starts over.
I found then when I put this page up on my real server, the pop-up window
briefly flashes an error page (I suppose because it did not find data in the
request.form on the first try) before loading the page.
Like I said, it otherwise works, but the flashing error page is a little
annoying. Anybody run into this and have any idea why this happens?
TIA,
Chuck