I went on a job interview today... Basically, you've got mainframers
trying to create reports modules in asp.net, and the they need a
programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a
webform, then go to the next webform, then the next webform, until
you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session
varibles. So they might end up with 30 or 40 session variables for a
particular report.
I personally pass as much info via the parameters of a URL. and use
session variables for mainly setup parameters, system wide configuration
parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored
procs. Nice enough people, though.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! 10 952
I use session variables, but be creative too
remember you can store stuff in the database too
Francisco
"Terry Williams" <tl**********@aol.com> wrote in message
news:#Q**************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Hey Terry,
Well, I wish you the best of luck with your job interview, I really hope it
works out for you...
As for your question how to handle it, here is what I would do.
Now, your approach of passing everything in the query string is perfectly
acceptable, now a days it is. There are some browsers that have a 255
character limit in the query string, but these are few and far between.
Now, the obvious way to go is to use post variables, agian, perfectly
acceptable, especially in ASP 1.0-3.0.
The downside is security, which can be easily comprimised if your not
careful (well, by an educated person that is... joe blow wont figure it out
probably...) But that is rarely a concern especially in an intranet
environment.
However, your not an ASP 3.0 programmer anymore Terry, your .NET class. And
Microsoft gave you some pretty sweet tools. Now, there is nothing wrong at
all with storing in the session object, I enjoy using it, reduces amount I
put in the viewstate and other places (and variables to keep track of and
where they are at.) So when you have a multi part form for organized series
of data, use a Dataset, and store that dataset in the session object. That
way, your not constantly repopulating things, your only using one area of
the session object, and its all in a nice tight object oriented structure.
Hope it helps and again, best of luck.
-CJ
"Terry Williams" <tl**********@aol.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
an -in my opinion- nice way is to create one dataObject for each webform
(or even one object containing another object for each webform)
put all this in a few (first choice) or one (second) session vars
this way is it also very easy to move between the webforms and check if the
user already passed on one form to fill in everything as default vars...
Dominique
"Terry Williams" <tl**********@aol.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
That's what I like about these newsgroups. Especially, Where I might be
strong in a area, but weak in others.
Actually, that's what one of the people said she did, create a dataset
and store it in session. For a mainframer, she done good.
That means if someone else comes up with the same answer as her and you,
CJ. They've got the job. Oh well, back to the soup lines for me...:(
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Thank you CJ, your way sounds better...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Isn't query string to perform queries against databases subject to sql
injection?
Francisco
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com... Hey Terry,
Well, I wish you the best of luck with your job interview, I really hope
it works out for you...
As for your question how to handle it, here is what I would do.
Now, your approach of passing everything in the query string is perfectly acceptable, now a days it is. There are some browsers that have a 255 character limit in the query string, but these are few and far between.
Now, the obvious way to go is to use post variables, agian, perfectly acceptable, especially in ASP 1.0-3.0.
The downside is security, which can be easily comprimised if your not careful (well, by an educated person that is... joe blow wont figure it
out probably...) But that is rarely a concern especially in an intranet environment.
However, your not an ASP 3.0 programmer anymore Terry, your .NET class.
And Microsoft gave you some pretty sweet tools. Now, there is nothing wrong
at all with storing in the session object, I enjoy using it, reduces amount I put in the viewstate and other places (and variables to keep track of and where they are at.) So when you have a multi part form for organized
series of data, use a Dataset, and store that dataset in the session object.
That way, your not constantly repopulating things, your only using one area of the session object, and its all in a nice tight object oriented structure.
Hope it helps and again, best of luck.
-CJ "Terry Williams" <tl**********@aol.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
hehe... there are two different types of Query Strings.
In the web.. its the part after the ? in a address
i.e. http://www.mysite.com/mypage.aspx?cid=1&did=2
where the cid=1&did=2 is the query string, which is then broken up into
namevalue pairs...
"Francisco" <no****@baseball.net> wrote in message
news:#q**************@TK2MSFTNGP12.phx.gbl... Isn't query string to perform queries against databases subject to sql injection?
Francisco "CJ Taylor" <no****@blowgoats.com> wrote in message news:10*************@corp.supernews.com... Hey Terry,
Well, I wish you the best of luck with your job interview, I really hope it works out for you...
As for your question how to handle it, here is what I would do.
Now, your approach of passing everything in the query string is
perfectly acceptable, now a days it is. There are some browsers that have a 255 character limit in the query string, but these are few and far between.
Now, the obvious way to go is to use post variables, agian, perfectly acceptable, especially in ASP 1.0-3.0.
The downside is security, which can be easily comprimised if your not careful (well, by an educated person that is... joe blow wont figure it out probably...) But that is rarely a concern especially in an intranet environment.
However, your not an ASP 3.0 programmer anymore Terry, your .NET class. And Microsoft gave you some pretty sweet tools. Now, there is nothing wrong at all with storing in the session object, I enjoy using it, reduces amount
I put in the viewstate and other places (and variables to keep track of
and where they are at.) So when you have a multi part form for organized series of data, use a Dataset, and store that dataset in the session object. That way, your not constantly repopulating things, your only using one area
of the session object, and its all in a nice tight object oriented
structure. Hope it helps and again, best of luck.
-CJ "Terry Williams" <tl**********@aol.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide
configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
"Terry Williams" <tl**********@aol.com> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl... That's what I like about these newsgroups. Especially, Where I might be strong in a area, but weak in others.
Actually, that's what one of the people said she did, create a dataset and store it in session. For a mainframer, she done good.
That means if someone else comes up with the same answer as her and you, CJ. They've got the job. Oh well, back to the soup lines for me...:(
Everyone has there own strengths and weaknesses true. You gotta understand,
my experience comes HEAVILY from a web environment (this windows forms thing
was something new to me a year ago.) So we didn't have half of the stuff to
worry about that a windows developer does, (i.e. hardware, various OS's,
etc)
Now, I wouldn't necessarily count on the fact someone else is going to
answer the same way. There are a lot of BS "web developers" out there that
will not answer that way. And I do mean a lot. You have to remember, web
programming is even more of an infant than any other type of development
*except mobile, but excempt that for arguments sake*, so 100 different
people will answer 90 different ways. And if our only concern was how to
store data when dealing with multiple page forms, well then, web development
would be easy... However, there are about a million other things (I
exaggerate) to worry about when doing web development, not just how to store
some data. Again, your answer isn't wrong, thats just a .NET way to do it.
If it were Java/JSP I would have said Beans... And if it were ASP 3.0, I
would have said pretty much the exact same thing you did. =)
I wouldn't worry about that question too much though. Yeah, its good, and
could apply to a lot of situations, but then again... you kinda need to know
the situation to make a fair judgement call. If they are going to not hire
you on the basis of one answer, especially that one, think do you really
want to be in the environment with those people anyways?
Finally, data storeage doesn't make a web developer, if your on this
newsgroup (which is pretty much the best VB forum I've ever seen especially
with the fastest response time and most talent with people like Cor, Armin,
Tom, and Herfried "Captian Links" Wagner, your definatly on the right track.
You will learn so much from people in here and they from you. So even if it
doesn't happen this time, keep learning and kick ass at the next one.
And I'm out this mo fo...
-CJ
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
I like session variables as it allows easier to maintain code. For
example, I can add links throughout the setup process that link to
other pages, and no page has to know how to rebuild the complete url
with parameters. Each page just links where it needs to. They can
all include a common header that knows about all the possible POST
variables to throw into the session. So any page can link to any
other page, without fear of losing data anywhere.
Just my .02.
Kevin ke***@kevinsworld.com
Terry Williams <tl**********@aol.com> wrote in message news:<#Q**************@tk2msftngp13.phx.gbl>... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Terry, They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I would use a single session variable, holding an object that had 30 or 40
properties (and fields). or a couple of session variables holding a couple
of objects that had 15 or 20 properties each... It really would depend on
the OO-ness of the data being held... Further I may use a combination of
methods, depending on the kind of state I am holding for each "variable"...
Remember that ASP.NET has a number of facilities to store variables between
round trips with a client:
The following may be helpful for you to review to find your options: http://msdn.microsoft.com/library/de...bFormState.asp
Specifically: http://msdn.microsoft.com/library/de...tateOption.asp
The following article provides a good overview of the 9 options available: http://msdn.microsoft.com/msdnmag/is...e/default.aspx
Hope this helps
Jay
"Terry Williams" <tl**********@aol.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... I went on a job interview today... Basically, you've got mainframers trying to create reports modules in asp.net, and the they need a programmer with vb.net/asp.net experience.
One of the questions was...
How do you pass data from one form to another, example, you fill out a webform, then go to the next webform, then the next webform, until you've reached the end, then process all the data.
They use session variables for everything ? I mainly use session varibles. So they might end up with 30 or 40 session variables for a particular report.
I personally pass as much info via the parameters of a URL. and use session variables for mainly setup parameters, system wide configuration parameters and storing viewstate.
What's your opinion on this ?
Also, they converting over to DB2, and learning the speed of stored procs. Nice enough people, though. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Spammay Blockay |
last post by:
I've been tasked with doing technical interviews at my company,
and I have generally ask a range of OO, Java, and "good programming
technique" concepts.
However, one of my favorite exercises I...
|
by: George Jempty |
last post by:
I'm undergoing a phone interview for a Jython job today. Anybody have
practical advice for me? I haven't worked with Python in years, but I
have been working with Java in the meantime (resume at...
|
by: Dave Benjamin |
last post by:
Guido gave a good, long interview, available at IT Conversations, as was
recently announced by Dr. Dobb's Python-URL! The audio clips are available
here:
...
|
by: Jatinder |
last post by:
I 'm a professional looking for the job.In interview these questions
were asked with some others which I answered.But some of them left
unanswered.Plz help.
Here are some questions on C/C++, OS...
|
by: Matt |
last post by:
I had these questions in an interview today:
1. Define a class using C.
2. Write a C functions that does garbage collection: frees all
allocated memories.
3. Define semaphore.
4. What is...
| |
by: softwareengineer2006 |
last post by:
All Interview Questions And Answers
10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
I have listed over 10000 interview questions asked
in interview/placement test papers for...
|
by: Scott Abel |
last post by:
Astoria Software's Move to DITA: An Interview with Chip Gettinger
In this exclusive interview, TheContentWrangler.com asked Chip
Gettinger, VP Services and Sales Support at Astoria Software, an...
|
by: connectrajesh |
last post by:
INTERVIEWINFO.NET
http://www.interviewinfo.net
FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES
NO ADVERTISEMENT
|
by: sathyashrayan |
last post by:
Went to an interview and got f**ked ... (OT):
They wanted me to do this in 2 hr. Create a address book, insert the
data in mysql. And create a admin panel where the user has the
privileges to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |