Forum Moderators: open

Message Too Old, No Replies

self posting asp page

problems with COM objects and reusing variables?

         

macrost

4:31 pm on Mar 14, 2003 (gmt 0)

10+ Year Member



Hello all! I have a problem with a self posting asp page. I am using msxml2.serverxmlhttp, msxml2.freethreadeddomdocument.3.0 and also msxml2.xsltemplate. Now on my first post which will send xml over http to retrieve results, it works just fine. I destroy the objects and keep the same variable names. However, on my second post, which basically will do the same thing, the last object isn't being initialized. Does anyone have some ideas?
Thanks for your help!
Mac

davemarks

7:06 pm on Mar 15, 2003 (gmt 0)

10+ Year Member



How does one make an ASP page post a form itself? (If that is what you are suggesting)

I have often wondereed if this was possible..

macrost

9:47 pm on Mar 15, 2003 (gmt 0)

10+ Year Member



Hello dave! Yes it is possible, by having the action of a form set to # you can post to the page again. This does make a true dynamic page, however it can get very large in size. This was a project I was working on, but now it's been set aside. I figured out that it was a memory problem with msxml2.xsltemplate.
Mac

davemarks

10:51 pm on Mar 15, 2003 (gmt 0)

10+ Year Member



Oh right I knew that

What I meant was that you could submit to another page in the code itself

ie like response.redirect although I want to pass variables to it. I don't want to attach them to the querystring as i want to keep them hidden

Current reason for wanting to do this, is that I want to keep a login state across two domains

domain.com and admin.domain.com

Any ideas?

Thanks