Link to home
Start Free TrialLog in
Avatar of AlwaysDeployed
AlwaysDeployed

asked on

Cookie File Slack

I'm looking over a case that just came in and I was examining the cookies because the client wanted them looked over.  I noticed that 3 of the files have file slack.  Is this because a bigger file was there and when the current cookie was written to that sector, it was smaller than the previous one?  Also, all the cookies begin in various sector offset's except for one; which begins in sector offst 0.  Any ideas?  I've asked around in my shop and they have no clue, we've googled all day and found nothing.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AlwaysDeployed
AlwaysDeployed

ASKER

Out of about 50 cookies 2 of them have file slack and the physical sizes aren't equal to the logical size.  The OS is Win XP NTFS.  I understand that most files have file slack depending on the size of the file but why would only two of the cookies have slack and the rest don't.
Indeed, it's the ones that don't that I'd be more interested in.  What's the physical size? 1KB?  All but two cookies are also logically exactly 1KB?  That doesn't seem likely.
The physical size of one is 50kb and the other is 4,096kb.  The rest of the cookies on the drive are the same physical and logical size except for these two.  
When I look at Properties for cookies, the sizes vary from 61 bytes to 2.86 Kbytes.  Windows Explorer lists all the small ones as 1K.  50kb is kinda large for a cookie.  I had some at 4k or 5k but I deleted them.
My issue wasn't answered directly but the answers received did give me other ideas and reference points.  I appreciate the help.
I have the same problem with cookies... I can't explain that some of the cookies have slack and the rest don't? And cookies begin in various sector offset? I have windows 7 with NTFS.   Can somebody explain me clearly...

Thank for your help guys,
Lady Amherst, this is an old question.  The only reason I know that you posted is because I answered it 5 years ago.  Please open a new question so that other people will see it and respond.