Here i explain my scenario , i created a cookie on button click of google checkout button which has happened on my domain . I successfully created the cookie and i also able to view that cookie value on the every browser .
i have two question .. which explains in the code ?
'wat strange is the process happening on notifcation url i.e while clicking pay button
1.i could not
able to read the cookie value which i generated on google check button click while process to sandbox confirmation page. ?
'2.if i create a cookie on the checkout page itself
dat time i can able
to read the cookie?
i got to use the use cookie value in order to update my table for backend process . is der anyother way of maintaining the cookie value dat google check out maintains ?
Protected Sub GCheckoutButton2_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles googleBTN.Click
dim httpcookie As New HttpCookie("google_click_cookie_creation") ' Cookie created and stores on the browser
httpcookie.Value = "random2342test"
Dim post = Req.GetPostUrl()
Req.AddItem(catid.InnerHtml, Categoryname.InnerHtml, baseprice, 1)
Dim Resp As GCheckoutResponse = Req.Send()
'on notification checkout page
Public Sub chkout()
' Extract the XML from the request.
Dim RequestStream As Stream = Request.InputStream
Dim RequestStreamReader As New StreamReader(RequestStream)
Dim RequestXml As String = RequestStreamReader.ReadToEnd()
Dim chk As String = ""
Dim Content = ""
'wat strange is the process happening on notifcation url i could not able to read dat cookie value . ?
If Not Request.Cookies("google_click_cookie_creation") Is Nothing Then
Content = Request.Cookies("google_click_cookie_creation").Value & Content & "if"
Content = "else if"
'If i create a cookie on that page dat time i can able to read the cookie?
Dim httpcookie As New HttpCookie("test")
httpcookie.Value = "Cookie written on pay process which i received??"
Content = Content & Request.Cookies("test").Value
'I use email to receive wat happening in d mail which works well ..