Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

"cookie" and "session variable"

Posted 04 Mar 2002 17:10:24
1
has voted
04 Mar 2002 17:10:24 Phuc Ngo posted:
hello all

I keep on hearing "cookie" and "session variable" could someone tell me what is the different between those two and how/what they are use for.

Thanks

Replies

Replied 04 Mar 2002 17:31:08
04 Mar 2002 17:31:08 Owen Eastwick replied:
A cookie is a small text file stored locally on the web visitors hard drive, usually in C:\Temporary Internet Files\Cookies - for W98, C:\Documents and Settings\UserName\Cookies - W2K. You can hold pretty much any information you like in a cookie, UDZone uses one to store your username and password. When you return to the site it looks for the cookie it created in your cookies folder and retrieves the relevant info.
www.w3schools.com/asp/asp_cookies.asp

A session variable is a variable held resident in the host web servers memory (RAM) for the duration of the session (however long the browser is open) or it can be made to expire after a preset length of time. You can store numbers or character strings within it in much the same way as any other variable.
www.w3schools.com/asp/asp_sessions.asp

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 04 Mar 2002 17:48:11
04 Mar 2002 17:48:11 Phuc Ngo replied:
Thank You!

That really help a lot!

Reply to this topic