473,403 Members | 2,270 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,403 software developers and data experts.

Bypassing forms authentication for one site if coming from another. How?

I have two websites that both use Forms authentication. Each site has a
login.aspx and use the same database to check usernames and passwords. There
is a link on Website A to get to Website B. The user can only get to this
link if they are already logged in to Website A so when they click on the
link to get to Website B, I don't want them to have to log in again.
However, if the user was to go straight to Website B by typing it's URL into
the browser or by any other means, they have to login. Is this possible and
how would I accomplish it if so?

Thanks in advance!
Nov 18 '05 #1
2 1220
"David Hearn" <da*********@stagparkway.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
I have two websites that both use Forms authentication. Each site has a
login.aspx and use the same database to check usernames and passwords. There is a link on Website A to get to Website B. The user can only get to this
link if they are already logged in to Website A so when they click on the
link to get to Website B, I don't want them to have to log in again.
However, if the user was to go straight to Website B by typing it's URL into the browser or by any other means, they have to login. Is this possible and how would I accomplish it if so?


See the following: Forms Authentication Across Applications
(http://msdn.microsoft.com/library/de...-us/cpguide/ht
ml/cpconformsauthenticationacrossapplications.asp)
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #2
Thanks John!

"John Saunders" <jo**************@notcoldmail.com> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
"David Hearn" <da*********@stagparkway.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
I have two websites that both use Forms authentication. Each site has a
login.aspx and use the same database to check usernames and passwords.

There
is a link on Website A to get to Website B. The user can only get to this
link if they are already logged in to Website A so when they click on the
link to get to Website B, I don't want them to have to log in again.
However, if the user was to go straight to Website B by typing it's URL

into
the browser or by any other means, they have to login. Is this possible

and
how would I accomplish it if so?


See the following: Forms Authentication Across Applications
(http://msdn.microsoft.com/library/de...-us/cpguide/ht
ml/cpconformsauthenticationacrossapplications.asp)
--
John Saunders
johnwsaundersiii at hotmail

Nov 18 '05 #3

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

Similar topics

11
by: ElmoWatson | last post by:
I tried on the Security newgroup, as well as other places, and haven't gotten an answer yet - - I'm pulling my hair out over this one. I'm trying to get Forms Authentication working.....I can get...
9
by: Hermit Dave | last post by:
Hi, I am making a web application (rather two applications) one which is host and used by customers when they are just browsing through products. The second application resides on a secure...
2
by: Brett Porter | last post by:
Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user logs in each page they subsequently click on...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
2
by: TK | last post by:
I have a trouble to get web resopnse from an aspx page which is secured by Forms Authentication with custom user account database. My client application is a console application but not a browser....
7
by: mircu | last post by:
Hi, I noticed weird behaviour with the site that is using forms authentication. I am logged to the site from the same machine from two browsers (opened separately, not ctrl-N) as different users...
4
by: =?Utf-8?B?RmFyaWJh?= | last post by:
It know that we can use the following method http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx to form authenticate across multiple applications. I have created an asp.net application...
4
by: =?Utf-8?B?R3V1czEyMw==?= | last post by:
Hi, I created a web site on a remote server. To logon the user must enter a user id and password. The site is uses Forms Authentication. The web config file looks as follows: ...
5
by: Rory Becker | last post by:
Having now created a Custom MembershipProvider that seems to work correctly with my Logon and ChangePassword controls, I am, as they say, a happy bunny. The next stange is to move on to 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: 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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.