Re: ATLAS Bug w/ImageURL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Walter,
I changed to using a querystring as you advised and it now works! But, I'm
not sure why. It seems the use of a session variable should also work, and,
it does if the user is using I.E.6. Thanks for solving this problem but do
you know why it was failing with a session variable?
--
Regards,
Gary Blakely

"Walter Wang [MSFT]" <wawang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:S8P5hIwXHHA.2372@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Gary,

I noticed you're using Session to store the image index. I suggest you to
use QueryString to pass the image index:

int myInt = Int32.Parse(Request.QueryString["index"]);

Then you can use "Image.aspx?index=0" to use that image, no need to use
Session to pass the image index.

I've tested it on my side on Windows XP with IE7 and it works correctly
for
the AJAX UpdatePanel.

I could send you a working demo project if needed.

By the way, IE7 doesn't install on Windows 2000, it requires Windows XP
Service Pack 2 (SP2), Windows XP Professional x64 Edition, Windows Server
2003 Service Pack 1 (SP1). IE7 is available in Vista.

Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.



.



Relevant Pages

  • RE: ATLAS Bug w/ImageURL
    ... I noticed you're using Session to store the image index. ... By the way, IE7 doesn't install on Windows 2000, it requires Windows XP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Newb and logon page
    ... The GetRedirectUrl always returns the URL from the querystring, ... Microsoft MVP - Windows XP ... Windows XP Associate Expert ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: ATLAS Bug w/ImageURL
    ... using Session to pass the image index. ... Image.aspx even when you're using Session, you will see the image will be ... my opinion is that using QueryString here will be better. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server.Transfer error
    ... the querystring in the original ... > (It seems that system treat parameter string as body of path) ... > This ASP works fine in Windows NT server, but it does not work on Windows ...
    (microsoft.public.inetserver.asp.general)
  • Re: Passing information between pages
    ... a querystring is about the easiest thing there is to hack on a web ... Microsoft MVP - Windows XP ... Windows XP Associate Expert ...
    (microsoft.public.dotnet.framework.aspnet.security)