Update database through cookies..???

Results 1 to 2 of 2

Thread: Update database through cookies..???

  1. #1
    Join Date
    Dec 1969

    Default Update database through cookies..???

    I creating cookie through <BR>&#060;% response.cookies("username") = Request.querystring("uname")%&#062; on page no. 1.<BR>i assigned the cookie value through <BR>&#060;% user_name=request.cookies("username")%&#062; Now i want to use this cookie value in sql statement for record updation.<BR>sql_select="select * from my_table where uname=&#039;"& user_name & "&#039;"<BR><BR>this sql statement is not executing.what is going wrong.<BR>

  2. #2
    Join Date
    Dec 1969

    Default You've got it flip-flopped...

    You use request to assign the value to the cookie, and response to retrieve it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts