Re: asp.net login contol using url redirect
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 07/20/05
- Next message: Philip Colmer: "Failure to set credentials"
- Previous message: Dominick Baier [DevelopMentor]: "Re: Best Authentication Provider"
- In reply to: Rico Wind: "asp.net login contol using url redirect"
- Next in thread: Rico Wind: "Re: asp.net login contol using url redirect"
- Reply: Rico Wind: "Re: asp.net login contol using url redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 20 Jul 2005 05:09:00 -0700
Hello Rico,
so the login control is in a different application on your server??
the resulting authentication cookie is encrypted, with a key that is unique
for each application. So if LoginApp1 creates and encrypts the cookie MainApp
will not be able to decrypt the cookie again.
You can manually set the key used for enc/decyption and it has to be the
same for both apps.
Have a look at the machineKey section in machine/web.config. We have a tool
on our website which can generate you the necessary xml elements - just copy
that to all web.configs or machine.config if you want to have the same key
for all apps on the machine.
http://www.develop.com/technology/resourcedetail.aspx?id=78da5ca5-5079-4f8f-99c5-b080117ceac0
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Hello
>
> I have an asp.net website that uses the login control and a custom
> build
> membership provider. The site is running fine, but the problem is that
> i cannot use it in a frame from another site. When logging in the
> login
> screen just reapears. It will however give back a message if a wrong
> username/password combination is given.
> I could of course put the code on the site that uses the frame, but
> the
> component is to be used from several sites and I would really like to
> keep the code on one server to easially be able to upgrade the
> underlying pages.
> /rw
>
- Next message: Philip Colmer: "Failure to set credentials"
- Previous message: Dominick Baier [DevelopMentor]: "Re: Best Authentication Provider"
- In reply to: Rico Wind: "asp.net login contol using url redirect"
- Next in thread: Rico Wind: "Re: asp.net login contol using url redirect"
- Reply: Rico Wind: "Re: asp.net login contol using url redirect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|