Click to See Complete Forum and Search --> : Activex or Script


ajr
January 22nd, 2001, 12:52 PM
Hello,

I´m sorry if this question has already been post, and please redirect me.

I´m developing a web application likely a wizard application: a sequence of windows requesting informations and showing this informations processed, and finaly a "finish" window which will create a result based on these informations.

I´ll collect informations, show informations processed in a intermediary page and finaly create a SQL instruction based on the informations to generate the final web page.

To do this I have 2 options:
- make the procedures in vbscript, and retain information on session() object, with ASP technology;
- create an activex, wich would be an object with informations and properties and use it as an asp component.

What would be more eficcient, better performance, less memory, whatever?

Suggestions are welcome.

Thanks in advance.

Almir

Johnny101
January 22nd, 2001, 03:53 PM
Instead of using the Session object - just use hidden form elements. On each page after the first, place the contets of the submitted form into hidden form elements that get passed onto the next page, which will read them and, if required, place those values, plus the new ones, into more hidden form elements until you reach the end of the sequence. then when you're done, just go through the Request.Form collection and pull out all the information you need.

it's a lot easier than dealing with writing your own ActiveX control and more scalable than using a bunch of session variables.

hope this makes sense,

john

John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org