Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Preventing a user from returning to previous page - June 11, 1998 at 18:39:40

You are here: irt.org | BBS | Re: Preventing a user from returning to previous page [This BBS is closed]

Posted by Chris Woyton on June 11, 1998 at 18:39:40:

In Reply to: Re: Preventing a user from returning to previous page posted by Martin Webb on June 11, 1998 at 18:10:32:

No, I don't think the code is running on the server. What I noticed was that the values were passed to the SQL server without a problem. It was the local page that kept reloading.

What I suspect was happening was that the .htx file which is returned when IIS processes a query was somehow being replaced with the location.href value.

Perhaps using the location method on the referring page instead of the target page?


: : When I setup the location href, I used the target idc, like this:

: : location.href='survey.idc?field_name=<%idc.fieldname%>...'

: : This had the interesting effect of looping the query about 400 times (until I stopped it), and dumping each loop into the SQL server. :)

: Your code above appears to be a mixture of client side and server side JavaScript.

: It seems to be inter-linked. Is this possible?

: I don't know anything about server side JavaScript, but are you positive that you are not actually running the code you intend to run on the client on the server instead?


Follow-ups:

You are here: irt.org | BBS | Re: Preventing a user from returning to previous page [This BBS is closed]

©2018 Martin Webb