Learn how to create and retrieve cookies

Tutorials Shared by the Internet Community

Advertisements


Synopsis

How to create a cookie

Statistics

  • Total Hits - 19451

  • Total Votes - 115 votes

  • Vote Up - 51 votes

  • Vote Down - 64 votes

  • Domain - www.toxiclab.org

  • Category - ASP/Cookies and Sessions

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-06 08:52:25

Description

How to retrieve a cookie value

In this example we will store cookie value in variable.

Dim UserName
Dim UserMail

UserName = Request.Cookies("UserName")
UserMail = Request.Cookies("UserMail")

Response.write "Your name is:" & UserName & " and your mail is: " & UserMail ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements