Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2004, 11:00 PM
Authorized User
 
Join Date: Oct 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Context.User.Identity.Name

Hi

i am looking at the PhilePage.cs and my question is:
where is the Context.User.Identity.Name set (in private void PhilePage_Load(object sender, System.EventArgs e)) before i come to login.aspx?
somehow it remembers it (cache maybe?)

thanks

Jim

 
Old November 3rd, 2004, 06:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure exactly what you're asking...

Are you asking how it knows you when you return to the web site? The Forms authentication cookie is doing this for you.

Eric
 
Old November 4th, 2004, 08:20 AM
Authorized User
 
Join Date: Oct 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Eric

i mean the location of the cookie, in which directory is this located?

thanks

Jim

'Knowledge speaks, but wisdom listens. -- Jimi Hendrix '


 
Old November 4th, 2004, 12:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's stored on each user's computer in a cookies folder under their home folder located under Documents and Settings.

Eric
 
Old November 6th, 2004, 06:33 AM
Authorized User
 
Join Date: Oct 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks Eric!:)






Similar Threads
Thread Thread Starter Forum Replies Last Post
User Identity stonesbg ASP.NET 2.0 Basics 1 February 9th, 2007 11:14 AM
(SitePrincipal)Context.User Philey BOOK: ASP.NET Website Programming Problem-Design-Solution 3 October 8th, 2004 05:38 PM
Context User davidroth BOOK: ASP.NET Website Programming Problem-Design-Solution 0 April 14th, 2004 12:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.