473,396 Members | 1,895 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.

ASP -> ASP.NET Authentication!

Hi all,

I have an existing ASP app that uses standard Session handling for user
authentication.

I am know developing new functionalityh in ASP.NET and am wondering is their
anyway to bridge both modules together without the user having to login
again manually using ASP.NET authentication procedures.

Is there a way to get these two talking together?

Any Thoughts??

Regards,
Adam
Nov 19 '05 #1
5 1041
Do you mean that these web application are different in IIS....If thats
the case you can go for SQL SERVER session storing or STATE SERVER

Shivprasad Koirala
C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
http://www.geocities.com/dotnetinterviews/

Nov 19 '05 #2
I usually will use Access database with expire time to store cross-boundary
sessions.

"Adam" <ad**@pertrain.com.au> ¼¶¼g©ó¶l¥ó·s»D:ur**************@TK2MSFTNGP10.phx.g bl...
Hi all,

I have an existing ASP app that uses standard Session handling for user
authentication.

I am know developing new functionalityh in ASP.NET and am wondering is
their anyway to bridge both modules together without the user having to
login again manually using ASP.NET authentication procedures.

Is there a way to get these two talking together?

Any Thoughts??

Regards,
Adam

Nov 19 '05 #3
On Tue, 30 Aug 2005 12:15:13 +1000, "Adam" <ad**@pertrain.com.au> wrote:

¤ Hi all,
¤
¤ I have an existing ASP app that uses standard Session handling for user
¤ authentication.
¤
¤ I am know developing new functionalityh in ASP.NET and am wondering is their
¤ anyway to bridge both modules together without the user having to login
¤ again manually using ASP.NET authentication procedures.
¤
¤ Is there a way to get these two talking together?
¤
¤ Any Thoughts??

You might want to indicate what type of authentication your applications are configured for in IIS.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #4
You can do this. Start using FormsAuthentication. Have your ASP.NET code
do the login and issue the cookie (via normal FormsAuth). On you ASP pages,
make some cross app call (Remoting, WebServices, etc) for every request in
to see if the cookie is legit. If not, redirect to the ASP.NET login page.
If the cookie is legit then the user is logged in. One last thing is that
while on the ASP side you may need to reissue the cookie so the user is not
logged out after the timeout.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi all,

I have an existing ASP app that uses standard Session handling for
user authentication.

I am know developing new functionalityh in ASP.NET and am wondering is
their anyway to bridge both modules together without the user having
to login again manually using ASP.NET authentication procedures.

Is there a way to get these two talking together?

Any Thoughts??

Regards,
Adam


Nov 19 '05 #5
Adam <ad**@pertrain.com.au> ha scritto:
Hi all,

I have an existing ASP app that uses standard Session handling for
user authentication.

I am know developing new functionalityh in ASP.NET and am wondering
is their anyway to bridge both modules together without the user
having to login again manually using ASP.NET authentication
procedures.
Is there a way to get these two talking together?

Any Thoughts??

Regards,
Adam


Using Cookie?

--
AZ [Microsoft - .NET MVP]
Mia Home page: http://ciclismo.sitiasp.it
Asp.Net community: http://www.aspitalia.com
Il mio blog: http://blogs.aspitalia.com/az
Nov 19 '05 #6

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

Similar topics

6
by: Pete Mahoney | last post by:
I am trying to 'POST' values from a form in a ASP file that has anonymous access permissions. I can retrieve the form values when I redirect to this page from another page which has also has...
0
by: Ronald Wunderlich | last post by:
Hi, My first Question: can db2 (db2ckpw) ask over pam_ldap my edirectory ldap server for user authentication? The scenario: 1. computer suse linx enterprise server 8(SLES8) and edirectory...
1
by: Cantekin Guneser | last post by:
when i used <location> tag as follow; </system.web> <location path="members" allowOverride="false"> <system.web> <authentication mode="Forms"> <forms loginUrl="./default.aspx"></forms>...
5
by: Matthew Louden | last post by:
I wrote ASP.NET application that access SQL Server database. When I run the application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'" error message. I then did the following, but...
4
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
3
by: T. Regan | last post by:
I have a test app where I have Forms Authentication set up. When I build and run the app as http://localhost/testapp/login.aspx, it runs correctly. I get the login prompt and the proper...
2
by: I am Sam | last post by:
Can someone tell me what is wrong with this web.config file? Whenever I try to open a file in the protected directory "Administration" I get an error message indicating that the <system.web>...
2
by: cmrchs | last post by:
Hi, I'm having problems with the interpretation of roles in the <authentication> entries in web.config Scenario : I'm logging on as 'Administrator' and try to access a site for which the...
2
by: gndzkdr | last post by:
hi all, i m new on Sql and i have a project related to C# and Sql. i have to do a project which must work on LAN, and there must be only one database file on main computer(Server Computer) and...
11
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but...
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: 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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
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...
0
agi2029
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 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.