Cookie - drive me nuts!!!

  • Thread starter Thread starter Ivan Demkovitch
  • Start date Start date
I

Ivan Demkovitch

Hi!

Here is what I'm doing:

I'm integrating PHP BB with my asp.net application.
I modified phpBB FORM TARGET to post into my aspx page. Then after I process
everything I do
Response.Redirect(Request.UrlReferrer.ToString());

In my code I authorize user and create/overwrite cookie for phpBB. I'm not
sure if PHP cookie differ from APS.NET cookie but
I end up with 2 exact cookies and they do not contain data I set, instead,
they contain values set in PHP.
And there is 2 of them!!! identical domain/name/value/date ????

Please somebody help!. I can post code I use. This is really important.
 
you can not share cookies with another site, unless you both have a common
domain name with at least two "."s.

for example

myphpbb.mysite.com
myaspnet.mysite.com

then you can set the cookies for *.mystite.com, and both can see the same
cookies, but there is no way for myasp.net.com
to set cookies in the browser for myphpbb.mysite.com, as this would break
internet security (this hole was plugged years ago).

-- bruce (sqlwork.com)
 
Bruce,

I solved prolem. I know what you talking about, but my situation was very
simple - I had phpBB application in subfolder.

The problem was in cookie name. They appear to be case - sensitive ???
 
Back
Top