Click here to Skip to main content
15,889,200 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use Pin
IamADotNetGuy25-May-04 8:14
IamADotNetGuy25-May-04 8:14 
GeneralRe: How to use Pin
Heath Stewart25-May-04 8:18
protectorHeath Stewart25-May-04 8:18 
GeneralRe: How to use Pin
IamADotNetGuy25-May-04 8:22
IamADotNetGuy25-May-04 8:22 
GeneralRe: How to use Pin
Heath Stewart25-May-04 8:28
protectorHeath Stewart25-May-04 8:28 
GeneralRe: How to use Pin
IamADotNetGuy25-May-04 8:46
IamADotNetGuy25-May-04 8:46 
GeneralRe: How to use Pin
Heath Stewart25-May-04 9:22
protectorHeath Stewart25-May-04 9:22 
GeneralLogout problem Pin
IamADotNetGuy28-May-04 5:42
IamADotNetGuy28-May-04 5:42 
GeneralRe: Logout problem Pin
Heath Stewart30-May-04 6:13
protectorHeath Stewart30-May-04 6:13 
This is a common problem with frames, which is why almost all web sites do not use them today. I would recommend designing your site using tables to layout your page with included components like headers, footers, and navigation bars.

If you insist on frames, you will have more problems. Make sure you use the target attribute of the A tab wisely.

As far as deirecting a user to a single login page, this isn't possible using the .NET FCL's authentication modules. You would have to write your own authentication module that takes target frames into account. The ASP.NET authentication modules do not do this.

For more information on how to do this, read about IHttpModule and the existing authentication modules like FormsAuthenticationModule to see how they work, even using ildasm.exe that comes with the .NET SDK (if you know how to read IL) or ".NET Reflector", which you can google for (both a disassembler and decompiler with a nice interface - I currently do not have the link available since I'm on vacation).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Logout problem Pin
IamADotNetGuy3-Jun-04 12:23
IamADotNetGuy3-Jun-04 12:23 
GeneralRe: Logout problem Pin
Heath Stewart3-Jun-04 16:58
protectorHeath Stewart3-Jun-04 16:58 
GeneralRe: Logout problem Pin
IamADotNetGuy4-Jun-04 3:55
IamADotNetGuy4-Jun-04 3:55 
GeneralRe: Logout problem Pin
Heath Stewart4-Jun-04 4:15
protectorHeath Stewart4-Jun-04 4:15 
QuestionHow to call an external program Pin
tcole3125-May-04 6:04
tcole3125-May-04 6:04 
AnswerRe: How to call an external program Pin
Colin Angus Mackay25-May-04 6:29
Colin Angus Mackay25-May-04 6:29 
GeneralRe: How to call an external program Pin
tcole3125-May-04 7:07
tcole3125-May-04 7:07 
QuestionHow to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 5:07
PeteV25-May-04 5:07 
AnswerRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 6:38
protectorHeath Stewart25-May-04 6:38 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 9:13
PeteV25-May-04 9:13 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 9:18
protectorHeath Stewart25-May-04 9:18 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 9:46
PeteV25-May-04 9:46 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
Heath Stewart25-May-04 10:03
protectorHeath Stewart25-May-04 10:03 
GeneralRe: How to get items out of a Scripting.Dictionary instance ? Pin
PeteV25-May-04 10:14
PeteV25-May-04 10:14 
GeneralQuestion related to Word automation Pin
Mihamar25-May-04 5:05
Mihamar25-May-04 5:05 
GeneralRe: Question related to Word automation Pin
Heath Stewart25-May-04 6:53
protectorHeath Stewart25-May-04 6:53 
GeneralRetrieve Listbox items Pin
BillAnton25-May-04 4:35
BillAnton25-May-04 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.