473,749 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forms Authentication accross applications and firefox

Has anyone else tried this?

I have been messing with this for a week and cant figure it out, for
some reason firefox will not read an authentication cookie unless it
was set by the applciation that your trying to load.
Where as IE will read the authentication cookie if it has the same name

(as specified in web.config) regardless of which application your in.
I am using the same machienkey decryptkey in both applications and
trying to just have one login page for both applciations. It works
perfectly in IE but in firefox you have to login again to view anything

from the second project. and you have to use the .setAuthCookie in the
second applciation.

Nov 22 '06 #1
2 2127
I think it may be related to the way firefox stores cookeis in one
single txt file instead of one for each domain
o0JoeCool0o wrote:
Has anyone else tried this?

I have been messing with this for a week and cant figure it out, for
some reason firefox will not read an authentication cookie unless it
was set by the applciation that your trying to load.
Where as IE will read the authentication cookie if it has the same name

(as specified in web.config) regardless of which application your in.
I am using the same machienkey decryptkey in both applications and
trying to just have one login page for both applciations. It works
perfectly in IE but in firefox you have to login again to view anything

from the second project. and you have to use the .setAuthCookie in the
second applciation.
Nov 22 '06 #2
Have you set the cookie Path to "/" and set allowCrossAppRe directs="true" in
your Forms auth config section?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"o0JoeCool0 o" wrote:
I think it may be related to the way firefox stores cookeis in one
single txt file instead of one for each domain
o0JoeCool0o wrote:
Has anyone else tried this?

I have been messing with this for a week and cant figure it out, for
some reason firefox will not read an authentication cookie unless it
was set by the applciation that your trying to load.
Where as IE will read the authentication cookie if it has the same name

(as specified in web.config) regardless of which application your in.
I am using the same machienkey decryptkey in both applications and
trying to just have one login page for both applciations. It works
perfectly in IE but in firefox you have to login again to view anything

from the second project. and you have to use the .setAuthCookie in the
second applciation.

Nov 23 '06 #3

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

Similar topics

6
4839
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
1
2003
by: JC | last post by:
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I have all applications running under v1.1. However, I need the login page and a few apps to be running under using v1.0 with other applications running under v1.1. Now my authentication cookie is no longer being accepted anywhere other than by...
9
4637
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 server. This is going to hold all account related information for the customers and will also be used for admin The login is implemented using forms authentication and i was just reading up about that... but as everyone already knows.... its all...
0
4241
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 Applications and owner of Access Microsystems. Doug can be reached at doug@accessmicrosystems.com. --------------------------------------------------------------------------------
1
1853
by: TK | last post by:
What's the best way to implement roll-base access control with forms authentication? I have a IIS6+ASP.NET server which hosts some ASP.NET web applications as separated path that's like "/app1/default.aspx", "/app2/default.aspx", .... and a single logon page as "/logon/logon.aspx" for forms authentication. I've already implemented "single sign-on" structure for those web applications and it's working fine. No one who didn't logged on...
2
1523
by: Dotnet Guy | last post by:
Hi, I have different asp.net applications as sub applications within an application and was using Framework 1.0. And I use forms authentication across the applications. In the web.config file of outer application I have <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Default.aspx" path="/" timeout="20"/> </authentication> While in the web.config of the Sub applications I have
3
1176
by: Molly J. Fagan | last post by:
Hello-- I'm using forms authentication and have 2 web projects located under the same root directory. In the web.config of the second project, I have <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="../BHUser/login.aspx" /> </authentication>
1
2403
by: o0JoeCool0o | last post by:
I currently have forms authentication set up for my application, I have 2 different projects in the solution and I have one single login page residing in solution #1 My web.config is the same in both projects and works fine in IE you can login the one page and the authentication works when your try redirect to any page in either project. However in firefox if I login in project1 and then try to load a page from project 2 I get booted to...
4
3603
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 that supports form authentication. My application is going to be called by another legacy application (HTML) which does the initial authentication.Something like this: <form name="form1" action="auth.asp" method="post" >
0
9568
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9256
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.