473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do you pass credentials from a classic ASP app to ASP.NET 2.0?

CK
Good morning all,
We have a classic asp application on our local intranet. Employees log in to
and use the app. We recently added some additional functionality to the site
and this was written in .net 2.0. How can I discover that a user has already
logged in and been authenticated in classic asp and let the new 2.0 app no
that the user has already been authenticated? Currently they log in in
classic and then they are forced to log in again when they hit the .net 2.0
areas. Any ideas / suggestions?

TIA,
~CK
Sep 28 '06 #1
9 2381
"CK" <c_**********@hotmail.comwrote in message
news:_k*****************@newssvr12.news.prodigy.co m...
Any ideas / suggestions?
Not without knowing how the authentication process works in your ASP Classic
site...
Sep 28 '06 #2
CK

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:Oz**************@TK2MSFTNGP04.phx.gbl...
"CK" <c_**********@hotmail.comwrote in message
news:_k*****************@newssvr12.news.prodigy.co m...
>Any ideas / suggestions?

Not without knowing how the authentication process works in your ASP
Classic site...
We have roles and groups in a SQL server database. If the user is part of
the appropriate group or role, they can view the current page. We have user
names and passwords. these are the same ones used in .NET 2.0.
Sep 28 '06 #3
"CK" <c_**********@hotmail.comwrote in message
news:n_*****************@newssvr25.news.prodigy.ne t...
>>Any ideas / suggestions?

Not without knowing how the authentication process works in your ASP
Classic site...

We have roles and groups in a SQL server database. If the user is part of
the appropriate group or role, they can view the current page. We have
user names and passwords. these are the same ones used in .NET 2.0.
In which case, I can't really see what the problem is... Can't your .NET 2
site connect to the same database as your ASP Classic site...?
Sep 28 '06 #4
CK
yes it uses the same SQL database but is there a way I can check if a user
has been authenticated.
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2*****************@TK2MSFTNGP02.phx.gbl...
"CK" <c_**********@hotmail.comwrote in message
news:n_*****************@newssvr25.news.prodigy.ne t...
>>>Any ideas / suggestions?

Not without knowing how the authentication process works in your ASP
Classic site...

We have roles and groups in a SQL server database. If the user is part of
the appropriate group or role, they can view the current page. We have
user names and passwords. these are the same ones used in .NET 2.0.

In which case, I can't really see what the problem is... Can't your .NET 2
site connect to the same database as your ASP Classic site...?

Sep 28 '06 #5
"CK" <c_**********@hotmail.comwrote in message
news:5Q*****************@newssvr12.news.prodigy.co m...
yes it uses the same SQL database but is there a way I can check if a user
has been authenticated.
Er, well unless I'm *really* missing something here, can't your ASP.NET app
check whether a user has been authenticated in exactly the same way as your
ASP app does, since they both use the same database...?
Sep 29 '06 #6
CK

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OW**************@TK2MSFTNGP05.phx.gbl...
"CK" <c_**********@hotmail.comwrote in message
news:5Q*****************@newssvr12.news.prodigy.co m...
>yes it uses the same SQL database but is there a way I can check if a
user has been authenticated.

Er, well unless I'm *really* missing something here, can't your ASP.NET
app check whether a user has been authenticated in exactly the same way as
your ASP app does, since they both use the same database...?
I am a dumbshit, I forgot to mention, in the classic app, if you are
authenticated through windows by logging into the domain, you are not forced
to login in the classic app. I am trying to get the same behavior in the
..NET app.Thanks for your help.

~CK
Sep 29 '06 #7
"CK" <c_**********@hotmail.comwrote in message
news:K0***************@newssvr11.news.prodigy.com. ..
>>yes it uses the same SQL database but is there a way I can check if a
user has been authenticated.

Er, well unless I'm *really* missing something here, can't your ASP.NET
app check whether a user has been authenticated in exactly the same way
as your ASP app does, since they both use the same database...?

I am a dumbshit, I forgot to mention, in the classic app, if you are
authenticated through windows by logging into the domain, you are not
forced to login in the classic app. I am trying to get the same behavior
in the .NET app.Thanks for your help.
Sigh... it's like drawing teeth...

HOW ARE YOU PERFORMING THE AUTHENTICATION IN THE ASP CLASSIC APP????

Show us the code. It's almost certainly a very simple thing to convert the
code to VB.NET / C# and add it in to your ASP.NET app...
Sep 29 '06 #8
CK

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
"CK" <c_**********@hotmail.comwrote in message
news:K0***************@newssvr11.news.prodigy.com. ..
>>>yes it uses the same SQL database but is there a way I can check if a
user has been authenticated.

Er, well unless I'm *really* missing something here, can't your ASP.NET
app check whether a user has been authenticated in exactly the same way
as your ASP app does, since they both use the same database...?

I am a dumbshit, I forgot to mention, in the classic app, if you are
authenticated through windows by logging into the domain, you are not
forced to login in the classic app. I am trying to get the same behavior
in the .NET app.Thanks for your help.

Sigh... it's like drawing teeth...

HOW ARE YOU PERFORMING THE AUTHENTICATION IN THE ASP CLASSIC APP????

Show us the code. It's almost certainly a very simple thing to convert the
code to VB.NET / C# and add it in to your ASP.NET app...
Marc I believe the classic app uses Windows Authentication and the net 2.0
app uses forms authentication.
Sep 29 '06 #9
"CK" <c_**********@hotmail.comwrote in message
news:aP*****************@newssvr13.news.prodigy.co m...
Marc I believe the classic app uses Windows Authentication and the net 2.0
app uses forms authentication.
Are you doing this on purpose? You want to make the ASP.NET app use the same
authentication method as the ASP Classic app, right?

So do it...

http://www.google.co.uk/search?sourc...hentication%22
Oct 1 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: DT | last post by:
Hi Group, I'm trying to integrate a new site in with an old site. There are some legacy pages that a user must log into. I would like to have an ASP.NET 1.1 page take user credentials in and...
2
by: elora_c | last post by:
I'm making a call to a webservice from my ASP.NET page. The web application has anonymous access turned off and Integrated Windows auth turned on. The web.config has <identity impersonate=true>. ...
4
by: James | last post by:
I succesfully pass username , domain and password via this function (taken from MSDN) Private Declare Auto Function LogonUser Lib "advapi32.dll" (ByVal lpszUsername As , _ ByVal lpszDomain As...
0
by: Eagle | last post by:
Hi all. I want to known if it is possible to pass the Credentials (user and pass basicly) from one user I has validated in my intranet to another aplication (for example to an object who can...
3
by: JDS | last post by:
So, I'd like to create the following scenario: 1) Use cURL library within PHP (cURL + "Cookie Jar", et.al) to create a virtual browser session that "logs in" to a remote site. (For example: ...
3
by: antonyliu2002 | last post by:
I have a website (call it WinAuthWeb) that uses Integrated Windows Authentication. In my ASP.NET web application, I collect user name, password and domain info and pass them to WinAuthWeb for...
0
by: rohitscripts | last post by:
I'm uploading an image from my aspx page to a folder(not in database) in ftp server using the following code:: System.IO.FileStream newFile = new...
3
by: Techmighty | last post by:
Hello All, I want to invoke the .Net Based webservice from a java client code using axis api. As we pass the credentials in .Net "uin.Credentials = new NetworkCredential("administrator",...
5
by: CraigWU | last post by:
I know there have been some similar posts, but I cannot determine if this is truly impossible, or just difficult. We have a site that uses Windows Integrated Authentication, and so it pops up the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.