codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Setting and Retrieving Cookies  ninel at 20:03 on Thursday, April 13, 2006
 

I have page1.aspx. On this page I have a link to a pdf file and a checkbox that is disabled. When user clicks on link they get redirected to page2.aspx, which is actually a 2nd window that pops up. On this page I update a table specifying that the link was clicked and using the following code display the pdf:

[code]
Response.ContentType = "Application/pdf"
Response.Redirect("/forum/05._Incentive_Policy.pdf")
[/code]

I need to enable the checkbox on page1.aspx after the link for the pdf has been clicked.

How can I do this? I'm trying to set a cookie on page1 and then reset it with a different value on page2, and then somehow read it from page1, but this isn't working.

Thanks,
Ninel








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Help: Trouble with z-Index and SELECT lists
•  enable listbox by selecting the radio button and redirect the page based on the selected index
•  Problem creating the xml from blog...
•  mouse click coordinates on a quicktime movie
•  Help : How to Sign Java Scipt....
•  check for folder on another server
•  Making Header Row fixed in a DIV Scroll Table
•  how to open a pagen in already opend window
•  Select index`s and HTML Forms


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006