Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Object

Status
Not open for further replies.

protechdm

Programmer
Dec 30, 2001
36
GB
Hi,

Kind of stuck between a rock and a hard place on this.

I have 3 pages - all of which ask for user input through various text/radio/picklist controls. On post back, these entries are to be written to the relevant fields in the new row of a table.

I was thinking of storing a datarow/datatable with one row in the session object so that each postback simply replaced the referenced datarow item with its value.

Obviously no connection will be made back to the underlying database until the third page is validated and submitted.

Thus, would anybody like to argue for/against this method? Goes without saying it is down to the number of active sessions, but essentially, is a datarow object too "heavy" to be stored in the session object?

Cheers.

Glyn.
 
The datarow object is basically just XML, so I don't think it would be that bad.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top