Fired! - - Profile-

J

James Woody

Our company uses the profile feature, then for some reason I screw around
with the web.config file and delete one of the profile keys.

I then re-add that profile key.

Woudn't all that profile information get lost permanently?
Then I may get fired. Correct?
 
K

Ken Cox - Microsoft MVP

Hey James,

It depends.

Did you just delete the profile key or did you tell ASP.NET to take it out
with this?

<remove name="fired" />

At any rate, the data remains in each record until the person actually goes
to a page that updates the profile. You should be able to put the key back
in with no harm done for any profiles that haven't changed.

Just put the property back in and cross your fingers.

As for firing, not sure about that one. <grin>

BTW, here's how the data is stored:

PropertyNames:
fired:S:0:4:BGColour:S:4:16:SiteLogo:S:20:9:

PropertyValuesString:
Truebackground:whitemouse.gif

You can find details for the storage format here:

http://www.xaprb.com/blog/2006/01/08/aspnet-profile-schema/

Let us know if you're okay?
 
J

James Woody

Thank you!

If I am fired I will restore the personnel records to get my job back.
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top