472,333 Members | 1,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

how to apply cookie in php how to store data in cookie how to reset it in php page..

Hi everyone.....

I read out the topic of how to pass a variable into another page using session.And mr.moderator have explained it with beauty.I apply this and it is working for me..Can anyone give such a good explaianation for cookie also..How to store data in cookie,destoy cookie etc un ,php page .I read out it from w3schools.com but i dont know how to implement that.Like session(how to pass varible through page) plz also give link(if already created i have searched) or explain it so that newbies can get help from this...Thank you..
Jan 25 '10 #1
2 2257
1,059 1GB
Please look into php site(www.php.net, not sure). You better google it with search id cookie. You would get better answer.
Jan 26 '10 #2
1,584 Expert 1GB
Follow these steps:

1. Find what you want to learn. (in your case sessions and cookies with PHP)

2. Research the subject and take some tutorials. Google is of great help here, and yes w3schools.org is how most of got started. Here's another link for you:


3. Attempt the code yourself free hand without copy and pasting.

4. If you have trouble refer to the manual. If it still doesn't make sense, ask a specific question here.

You can't come in here and say teach me PHP.

That being said, do you have a specific question that the manual can't answer?

If not, good luck and happy coding! You'll be coding PHP is no time!

Jan 26 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Matt | last post by:
I want to know what's the differences between session cookie and regular cookie. In ASP, when we create cookie, we do the following to identify...
by: Christoph Pieper | last post by:
Hi, we've the following problem : We have an asp-application which sets the cookie on first login. The cookie will never be touched during...
by: Marco Krechting | last post by:
Hi All, I have a page with a list of hyperlinks. I want to save information in a cookie about the fact that I entered an hyperlink or not. When...
by: Karsten Grombach | last post by:
Hi, I'm trying the following: - Imitate a Logon using a Post with HttpWebRequest on remote Webserver (asp 3.0 page using https) - On success...
by: Keith Patrick | last post by:
I'm trying to programmatically post data to another page within my ASP.Net app. Not POSTing is not an option (I can't store this data in my...
by: ExclusiveResorts | last post by:
Can the CallContext be used reliably for storing request specific data? We are developing an application library that uses the CallContext to keep...
by: Dan | last post by:
Hi, I am trying to refresh the cookie to make sure the timeout is reset by simply calling a blank page on my site. I am doing this because I have...
by: Mike | last post by:
Hi, Upon login into my application I stored user data (userid, ...) in a cookie to be used throughout the application. One particular form is...
by: Milsnips | last post by:
Hi there, i had a small project where i used a session to store the shopping cart, but if it times out, the user loses the cart. Then i thought...
by: mosscliffe | last post by:
I have the following code, which I thought would create a cookie, if one did not exist and on the html form being sent to the server, it would be...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.