persist with cookies

B

BBurke

I hope this hasn't been answered to much in the past, but I'm new here and
didn't find it in the posts I can see.

What is the best way to use a cookie value in a aspx sql statement? ie
"select * from foo where id ='" & Request.Cookies("id") & "'" is not working
Also, it seems the cookie value can populate an element, like a text box ,
but dosen't seem to like
Response.Write(Request.Cookies("whatever")) or
<%=Request.Cookies("whatever") %>

What am I missing? It dosen't seem quite as accessible as in asp. BTW, the
cookies were created with aspx using vb.net and I varified they exist.

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Cookies Count 2
Cookies 1
Cookies 1
Cookies not persisted on client side 2
cookies not persisting 2
Problem with cookies 12
Can't remove cookies! 7
cookies 1

Members online

No members online now.

Forum statistics

Threads
474,417
Messages
2,571,575
Members
48,797
Latest member
shadowoftheunknown

Latest Threads

Top