Jump to content

Cookies


BigGrecian

Recommended Posts

Dump the $_COOKIE variable using var_dump so you can see for sure what it contains:

var_dump($_COOKIE);

 

I'm not too familiar with ASP but it appears as if you're trying to store an array of different cookies under one overall cookie name.  You may need to write a function to convert whatever format ASP uses to store the cookies into a compatible PHP structure.

Link to comment
Share on other sites

array(2) { ["ENROLLER"]=> string(205) "ADMIN=3&SCHOOL=0&STUDENTID=119&ATSCHOOL=1&EXAMINER=1&INSTRUCTORID=35&INSTRUCTOR=1&SSIRNAME=Doe&SNAME=John&DURATION=30 Mins&SEMAIL=test@email.com&CUSTOMERID=0&CAATESTFEE=1&VISASENT=1&TSAR=1" ["ASPSESSIONIDACBQQTAC"]=> string(24) "DCBLNLMAIJGJPIPJAHLHAJID" }

 

In ASP you can pull the sub COOKIE such as ENROLLER and SSIRNAME or ENROLLER and SNAME.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.