I've got to design a windows forms project which calculates various calculations. The username, answers and calculations used need to be stored in a database.
Ive created a login and registration form which work fine, ive got the calculation description and the answers saving to another database fine also.
My problem is that i need to store the user name with this data. I know that i need to use sessions but my experence with them is very poor.
I'm using seperate vb code docs to connect to the database, do i place the sessions in there or the main form.
Session("username") = txtUsername.Text
Ive tried this but im getting an error "session is not declared"
Any help would be great.
Thanks

New Topic/Question
Reply




MultiQuote







|