[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AG-TECH] NCSA AGSchedule error following link from SCGlobal



Hi Guys,

Okay the page source for that portion is:

<div class="paragraph Summary_Body" style="line-height: 17px; margin- bottom: 0px; margin-top: 0px; text-indent: 0px; "><span style="color: #707070; font-family: 'Georgia', 'serif'; font-size: 12px; font- style: normal; font-variant: normal; font-weight: normal; letter- spacing: 0; line-height: 17px; opacity: 1.00; text-decoration: none; text-transform: none; " class="Bullet">(4)</span><span style="line- height: 17px; "> </span><a href="https://agschedule.ncsa.uiuc.edu:443/ default.asp" title="https://agschedule.ncsa.uiuc.edu:443/default.asp"; style="line-height: 17px; ">NCSA AGSchedule</a><span style="line- height: 17px; "> (Showcase: </span><a href="http:// agschedule.ncsa.uiuc.edu/viewday.asp?date=11/14/2006" title="http:// agschedule.ncsa.uiuc.edu/viewday.asp?date=11/14/2006" style="line- height: 17px; ">Nov14</a><span style="line-height: 17px; ">, </ span><a href="http://agschedule.ncsa.uiuc.edu/viewday.asp? date=11/15/2006" title="http://agschedule.ncsa.uiuc.edu/viewday.asp? date=11/15/2006" style="line-height: 17px; ">Nov15</a><span style="line-height: 17px; ">, </span><a href="http:// agschedule.ncsa.uiuc.edu/viewday.asp?date=11/16/2006" title="http:// agschedule.ncsa.uiuc.edu/viewday.asp?date=11/16/2006" style="line- height: 17px; ">Nov16</a><span style="line-height: 17px; ">) </span></ div>

The source is clean and has the right ? in the right place. Except that I think the vbscript code on agschedule "thinks" that the link is actually the whole string (http://agschedule.ncsa.uiuc.edu/ viewday.asp?date=11/15/2006) and if you haven't been to agschedule before (ie: no timezone stuff setup) it tries to append ? tzoffset=-240&tz=11 to what's already in the browsers address field (http://agschedule.ncsa.uiuc.edu/viewday.asp?date=11/15/2006) resulting
(https://agschedule.ncsa.uiuc.edu/viewday.asp?date=11/15/2006? tzoffset=-240&tz=11) which is definitely wrong.


Mike I think you might have to add something to the vbscript that checks the incoming URL for ? and if it finds something like that in the string rewrites the URL to the default (front page) to allow the user to obtain the timezone cookie stuff or something like that......

TTYL
Many
On 25-Oct-06, at 5:39 PM, Michael Miller wrote:

Derek,

The resulting URL has an errant ? in it. replace that with an & and it should work fine. Not sure how that URL was created, the link works fine for me in firefox.

myk

Derek Piper wrote:

Hi,

I clicked on the November 15th link on the SCGlobal info page here:

http://scglobal2006.rcc.ryerson.ca/

    and got this as the link for AGSchedule:

https://agschedule.ncsa.uiuc.edu/viewday.asp?date=11/15/2006? tzoffset=-240&tz=11

    And this as an error message:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'DateValue'

/Include/dispcalendar.asp, line 119

Just thought I'd pass that on. If you've already visited AGSchedule and it has its date cookie set, you don't get the error.

    Derek


-- Thanx,

Michael Miller
System Engineer
Video Technology Services
Persistent Infrastructure Directorate
National Center for Supercomputing Applications
University of Illinois - UC
217-649-0747

"If you're clear in your vision and trust the people in your team with clear objectives, they will invariably do their best to achieve everything desired, and usually deliver everything you could have hoped for and even more." -Paul Debevec