Cookie - drive me nuts!!!

  • Thread starter Ivan Demkovitch
  • 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.
 
B

bruce barker

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)
 
I

Ivan Demkovitch

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 ???
 

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

Similar Threads

cookie trouble 3
Cookie Handling 1
Trouble with a simple cookie 3
Test cookie 1
FormsAuthentication Cookie Q 2
Cookie problem in asp.net v1.1 1
Cookie Anomaly 0
Checking for existence of a cookie 2

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top