Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Explicit path of cookies

 
Thread Tools Search this Thread
Old 11-18-2005, 02:27 PM   #1
Default Explicit path of cookies


can i set explicit path for cookies in asp.net

by default we set path="/" which is default path of cookies folder,

Thanks in advance



raj
  Reply With Quote
Old 11-18-2005, 03:25 PM   #2
Brock Allen
 
Posts: n/a
Default Re: Explicit path of cookies
Is HttpCookie.Path what you're looking for?

-Brock
DevelopMentor
http://staff.develop.com/ballen

> can i set explicit path for cookies in asp.net
>
> by default we set path="/" which is default path of cookies folder,
>
> Thanks in advance
>





Brock Allen
  Reply With Quote
Old 11-18-2005, 05:35 PM   #3
Bruce Barker
 
Posts: n/a
Default Re: Explicit path of cookies
the path set for a cookie is not the folder to store the cookie, but rather
tell the browser to which web sites to tie the cookie. you can tie a cookie.

say you have

mysite.com/dir1
mysite.com/dir2

you can tie the cookie to mysite.com, so its shared between site, a specify
a path and each site can have its own cookie.

-- bruce (sqlwork.com)


"raj" <> wrote in message
news: oups.com...
> can i set explicit path for cookies in asp.net
>
> by default we set path="/" which is default path of cookies folder,
>
> Thanks in advance
>





Bruce Barker
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript relative path to load xml file torontodesi Software 2 02-26-2009 01:13 PM
"src" path changing automatically?? lisaj Software 0 04-03-2008 11:36 AM
Get the Physical path of a sharpoint site arun_gp Software 0 07-31-2007 11:33 AM
how to upload a folder path??? chinna Software 0 10-03-2006 11:47 AM
Set default path of <input type = file> vj_india Software 1 09-15-2006 06:17 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46