Set Cookie

Well, I had a bad experience with my setting of cookies. There seemed to be a problem which doesn’t work. In the end, its just a simple problem. When I set cookie, I set it as http://www.url.com, but when i access the site i accessed it as http://url.com. Which means the cookie won’t be set as its incorrect url. To change it, I changed my set cookie parameter to url.com, and it has since solved my problem.

Now I’m facing a SQL problem. The data will not come out. Will there be an error when passing an @ through SQL? Its really weird as the login script works. (Username is an email address ma).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s