|
 |
asp_web_howto thread: Naming a Cookie File
Message #1 by Darren Wogan <darren.wogan@s...> on Tue, 18 Feb 2003 09:42:20 -0000
|
|
Is there any way to name your site's cookie file?
For instance for a virtual directory called 'test', if the cookie name/value
pairs are specified to have a path of 'test', for the user e.g. 'fred', the
cookie file is always created as 'fred@t...'.
Is it possible to have any control over the name of this cookie file? Would
it be possible at all to e.g. specify it to be called
'fred@T...'?
Darren Wogan
IT Consultant
Strategic Thought Limited
The Old Town Hall
4 Queens Road
London SW19 8YA
Tel: +44 (0) 20 8410 4000
Fax: +44 (0) 20 8410 4030
Email: darren.wogan@s...
Website: www.strategicthought.com
Active Risk Manager - Communicate tomorrow's risks today
*************************************************************************
This message contains privileged and confidential information intended
only for the use of the recipient named above. Its contents do not
constitute a commitment by Strategic Thought Limited ("Strategic
Thought") unless separately endorsed by an authorised representative
of Strategic Thought.
Any use, dissemination, distribution, reproduction or unauthorised
disclosure of this message is prohibited. If you receive this message
in error, please notify the sender immediately and delete it from your
computer systems.
Any views expressed in this message are those of the individual sender
and may not necessarily reflect those of Strategic Thought.
Strategic Thought believes this e-mail and any attachments to be virus
free. However, the recipient is responsible for ensuring it is virus
free and Strategic Thought do not accept any responsibility for any
loss or damage howsoever caused from use of this e-mail, attachments
or contents.
*************************************************************************
Message #2 by "Robert Davis" <robkdavis@h...> on Tue, 18 Feb 2003 18:19:08 -0600
|
|
Yes, rename your virtual directory to:
TestAppVersion2
`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`
Robert
robkdavis@h...
`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Message #3 by "Ken Schaefer" <ken@a...> on Wed, 19 Feb 2003 11:55:57 +1100
|
|
I don't think so.
How cookies are stored depends on the browser in question. The fact that you
are referring to 'fred@t...' indicates to me that you're testing your
application with Internet Explorer. Try using a different browser to see
what happens to your cookies...
Also, being able to "name" a cookie would probably be a security risk - I
could name a cookie in such a way that it overrides a cookie that has been
set by a different site (fred@c... for example). Since we are talking
about file-system manipulation here, it is best that the browser controls
this since it is aware of all cookies on the system in question.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Darren Wogan" <darren.wogan@s...>
Subject: [asp_web_howto] Naming a Cookie File
: Is there any way to name your site's cookie file?
:
: For instance for a virtual directory called 'test', if the cookie
name/value
: pairs are specified to have a path of 'test', for the user e.g. 'fred',
the
: cookie file is always created as 'fred@t...'.
:
: Is it possible to have any control over the name of this cookie file?
Would
: it be possible at all to e.g. specify it to be called
: 'fred@T...'?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
 |