Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cookies can't be read

Reply
Thread Tools

Cookies can't be read

 
 
Steffen Loringer
Guest
Posts: n/a
 
      07-12-2005
Hi,

my application has a starting page - A.aspx. This page keeps only
Javascript writing the client browser resolution and transfering to page
B.aspx:

document.cookie='width=' + window.screen.width
location.href ="B.aspx"

If I debug page B.aspx at the Page_Load event I can only find the ASP
Session ID cookie, nothing else (also with tracing on).

If I do a Server.Transfer("A.aspx") on page B.aspx I can read the
'width' cookie without any problem at the Page_Load event of B.

I expect in both cases to find the "width cookie", but it's not working.
Is there any mistake?

Thanks
Steffen

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Creating cookies in Global.asa Session_OnStart but cannot read cookies on subsequent pages. bb ASP General 0 09-15-2004 09:56 PM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM
Good Cookies bad Cookies? AK Computer Support 23 10-26-2003 05:20 AM



Advertisments