Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Clean solution - passing username + password between separate APPs

Reply
Thread Tools

Clean solution - passing username + password between separate APPs

 
 
Filippo Pandiani
Guest
Posts: n/a
 
      12-01-2003
Hi there,
I am looking for a clean solution that will allow me to share critical info
(like username and password) values between separate DLL application.

Here is my scenario:
[Site.dll] contains the main page with the logon fields "txtUserName" and
"txtPassword".
[Engine.dll] contains the code where I check the credentials of the user
that tries to log in.

So, I wonder how can I pass the values "user" and "pwd" without using the
QueryString (therefore avoiding to show the actual password on the URL).

Any Gurus out there ????

Thanks,
Filippo.




 
Reply With Quote
 
 
 
 
Filippo Pandiani
Guest
Posts: n/a
 
      12-01-2003
BTW,
This info may make a difference so I wanted to share it with you guys.

The URL looks like this: http://myserver/SITE/ENGINE
meaning that the ENGINE.dll is a sub directory of the SITE.dll


Filippo.


"Filippo Pandiani" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi there,
> I am looking for a clean solution that will allow me to share critical

info
> (like username and password) values between separate DLL application.
>
> Here is my scenario:
> [Site.dll] contains the main page with the logon fields "txtUserName" and
> "txtPassword".
> [Engine.dll] contains the code where I check the credentials of the user
> that tries to log in.
>
> So, I wonder how can I pass the values "user" and "pwd" without using the
> QueryString (therefore avoiding to show the actual password on the URL).
>
> Any Gurus out there ????
>
> Thanks,
> Filippo.
>
>
>
>



 
Reply With Quote
 
 
 
 
Jeff Siver
Guest
Posts: n/a
 
      12-02-2003
As far as the logon info, I wouldn't pass that between the app's. Instead,
I wouldchange the value in the MachineKey node in the machine.config file so
that the authentication information is shared between the two apps. See
http://support.microsoft.com/default...b;en-us;312906 for more
information.

For the rest of your data, if you don't want to use query strings or
cookies, you will probably have to store the data in the database from app 1
and retrieve it again in app 2.

Jeff

"Filippo Pandiani" <(E-Mail Removed)> wrote in message
news:OlEX$(E-Mail Removed)...
> BTW,
> This info may make a difference so I wanted to share it with you guys.
>
> The URL looks like this: http://myserver/SITE/ENGINE
> meaning that the ENGINE.dll is a sub directory of the SITE.dll
>
>
> Filippo.
>
>
> "Filippo Pandiani" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi there,
> > I am looking for a clean solution that will allow me to share critical

> info
> > (like username and password) values between separate DLL application.
> >
> > Here is my scenario:
> > [Site.dll] contains the main page with the logon fields "txtUserName"

and
> > "txtPassword".
> > [Engine.dll] contains the code where I check the credentials of the user
> > that tries to log in.
> >
> > So, I wonder how can I pass the values "user" and "pwd" without using

the
> > QueryString (therefore avoiding to show the actual password on the URL).
> >
> > Any Gurus out there ????
> >
> > Thanks,
> > Filippo.
> >
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual C++'s :"clean solution" doesn't clean the solution? plenty900@yahoo.com C++ 8 05-31-2008 04:57 PM
Passing username and password using LWP::UserAgent neo Perl Misc 5 12-12-2006 01:59 PM
Using separate classpaths for separate classes? Frank Fredstone Java 1 06-27-2006 06:46 AM
accessing a password protected site by passing the username and pa Rickard ASP General 2 01-27-2005 08:53 PM
How to use several separate classes (separate files) to be executed in one class (another file) EvgueniB Java 1 12-15-2003 01:18 AM



Advertisments