Re: Switching Forms
- From: bob clegg <cutbob_clegg@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Aug 2008 22:53:42 +1200
Hi Mark,
Thank you.
I was wondering if you could comment on my overall approach as the
project is on a tight time table and I don't really have time to
blunder off down the wrong path.
It is a job sheet issuing application.
the default.aspx consumes a Logon Webservice over Https.
This web service passes back a random number as a key and also writes
the key and a 1 hour expiry date to the database via a SPROC
Default.aspx saves the key to the session collection.
I propose that the second page 'main.aspx' will grab the key from the
Session collection and use it as a parameter when it is consuming the
functions of the main webservice over http.
i.e. Getting a list of jobs and posting back progress.
The https / http split is because I have read that Https has
significant performance degradation compared to http. The 'customers'
(employees) will be using the website from remote areas with minimal
bandwidth.
So...
1) They logon.
2) Printout job sheet(s) from Data provided by Main Webservice.
3) Do work and at End of Day logon and update data via Main
webservice.
The 'Data' has yet to be decided. I realise it has to be serializable
but any thoughts on this would be appreciated. i.e. Dataset, XMLDoc,..
I need to balance ease of implementation against performance.
If you think the data aspects make it unsuitable for a thin client I
have the option of writing a thick client. But this ties the app down
to particular PC's. Not a huge problem, but a consideration that is
causing me to go down the thin client path.
Thanks again
Bob.
P.S. I will be away for a couple of days with no NewsGroup access.
Shall catch up when I get back.
On Wed, 27 Aug 2008 08:40:59 +0100, "Mark Rae [MVP]"
<mark@xxxxxxxxxxxxxxxxx> wrote:
"bob" <startatbob_clegg@xxxxxxxxxxxxxxxxxxxxx> wrote in message.
news:cmo9b4pknqndlehq6pap8cl3aaijdnshmp@xxxxxxxxxx
Newbie question.
Can I do the equivalent with web forms? If so, how?
I appreciate that you are a newbie, but approaching ASP.NET with the mindset
of WinForms is (possibly) the worst approach you could take. The
architectures are *totally* different. I would advise you to get a copy of
this:
http://www.amazon.com/Beginning-ASP-NET-3-5-2008-Professional/dp/1590598911/ref=pd_bbs_1?ie=UTF8&s=books&qid=1219407696&sr=8-1
and work your wat through it from cover to cover.
However, to answer your question, you could write something like:
if (logon)
{
Response.Redirect("main.aspx", false);
}
- Follow-Ups:
- Re: Switching Forms
- From: Mark Rae [MVP]
- Re: Switching Forms
- References:
- Switching Forms
- From: bob
- Switching Forms
- Prev by Date: Re: Two ContentPlaceHolders in the MasterPage
- Next by Date: Re: Switching Forms
- Previous by thread: Switching Forms
- Next by thread: Re: Switching Forms
- Index(es):
Relevant Pages
|