Jump to content

problem creating cookies


raviprakashg

Recommended Posts

hi friends,i'm newbie in asp. net i have problem creating cookies and the code is

  Dim Cki_UserInfo As HttpCookie       Cki_UserInfo = New HttpCookie("UserID")       Cki_UserInfo.Value = rs.Fields(3).Value & "_" & fullname & "_" & userroleid       Response.Cookies.Add(Cki_UserInfo)

i use to create cookie and this is written when clicking LogIn Button but i can'nt able to retrive the cookie value using Response.Cookies("UserID").Value in another page, i can'nt understand whats happening there. r iam in correct way?Pls help me, Very Urgentthks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...