Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / February 2008

Tip: Looking for answers? Try searching our database.

value=get cookie ?

Thread view: 
bonus - 22 Feb 2008 23:27 GMT
I am having a problem with getting the value of a set Cookie into my
input.  I have tried onSubmit / onClick and have been looking at
functions to define the cookie, but I am very new at writing code.
Does anybody have any insight on how to correct this?

Thanks

<input type="hidden" name="sender_email" value=????? size="50" />

last futile attempt:
value=getCookie('SenderEmail')
Mark Space - 23 Feb 2008 01:02 GMT
> I am having a problem with getting the value of a set Cookie into my
> input.  I have tried onSubmit / onClick and have been looking at
[quoted text clipped - 7 lines]
> last futile attempt:
> value=getCookie('SenderEmail')

Are you writing Java or Javascript? Can you show us your JSP source or
the servlet source you are using?
Hal Rosser - 23 Feb 2008 01:16 GMT
>I am having a problem with getting the value of a set Cookie into my
> input.  I have tried onSubmit / onClick and have been looking at
[quoted text clipped - 7 lines]
> last futile attempt:
> value=getCookie('SenderEmail')

Try this site

http://www.w3schools.com/js/js_cookies.asp
Roedy Green - 23 Feb 2008 02:35 GMT
><input type="hidden" name="sender_email" value=????? size="50" />

<input  has nothing to do with cookies. This generates a HTTP GET or
POST.

See http://mindprod.com/jgloss/cookie.html
http://mindprod.com/jgloss/http.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.