Override the Encryption Key for Forms Auth

G

Gary Chamberlain

I have a C# aspx application. I also have a VB aspx application for forums.
I made the forums as sub web of the main one. It is in a folder called
/forums. Because it is a VB app it is running in it's own appication
context.

I would like to share Forms Authentication across them both. The forums app
can see the Forms Auth cookie. But, when I try to decrypt it to get the
Ticket I get a Bad Data error.

I assume that the ticket is encrypted with a random key that is created per
application when the app starts. Since it is two separate apps, they are
different. Is there any way to override this and use my own custom key?

Thanks in advance.
Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,832
Latest member
GlennSmall

Latest Threads

Top