CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Cookies

Print topic Send  topic

Author Message
Joe
Posted: 05/24/2004, 7:54 AM

I have a TexBox called "BOL_ID" i want the value of the text box saved as a cookie, and then on the next page i want to retrieve that cookie and diplay it in a hidden box, Anyone have any clue
BOL_ID is my primary key also,

ASP 3.0
CCS
MS Access
Connection Name: Connection1
Table Name: OrderEntry

Thanks in advance,
peterr


Posts: 5971
Posted: 05/24/2004, 6:33 PM

Use the "Save Control Value" Action in the "After Insert" or "After Update" event, then use the "Retrieve Value for Control" Action in the "Before Show" and/or "Before Insert" or "Before Update" event of the 2nd page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
strohtm

Posts: 13
Posted: 06/01/2004, 11:00 AM

I have triied to the save control and retrieve control to create a cookie. They do function to populate fields in a form but where do they put the cookie?

I have a non-web application that takes alot of information from a machine operator to control a machine.

My web application is going to be a help system for the operator.

I would like the machine control application to control the contents of the cookie.

Then Codecharge can pick up the cookie and search the database for related help.

Where is the cookie saved?
View profile  Send private message
peterr


Posts: 5971
Posted: 06/01/2004, 12:53 PM

On user's computer, in Internet Explorer click on Tools -> Internet Options -> Settings (in the Temporary Internet Files section) -> View Files. You should then see the folder with the cookies.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Joe
Posted: 06/02/2004, 6:41 AM

Where do i set the Expiration date???

Response.Cookies("Login")= Login.login.Value

This is for a Login Page, Do i set the Save Value for Control on the "After Insert"??

Thanks
peterr


Posts: 5971
Posted: 06/02/2004, 1:04 PM

You can use the standard VBScript to create and expire cookies. Here are some links on this:
http://www.netspade.com/articles/asp/cookies.xml
http://www.google.com/search?q=vbscript+reference+response.cookies

The cookies can be set in any event, depending on what you're trying to do. If you're working with the Login page then possibly the OnClick event of the DoLogin button could be used (not sure).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.