Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old December 12th, 2007, 03:05 AM
marc heiners
Guest
 
Posts: n/a
Default set cookie with javascript

Hello!

I have to overgive an information from one website to another (same domain)
by sertting a cookie with javascript.
When the website is requested by a user a session cookie with a default
value (for example 'miller') should be set with javascript or php. If the
user chose a drop down menue on the website the cookie´s value should be
overwritten with the chosen value from the drop down menu.

<select name="familynames">
<option value="1"selected>miller</option>
<option value="2">smith</option>
<option value="3">tanner</option>
</select>

Can someone help me here please?

Best regards
Marc




  #2  
Old December 12th, 2007, 08:35 AM
RobG
Guest
 
Posts: n/a
Default Re: set cookie with javascript

On Dec 12, 1:00 pm, "marc heiners" <mheinersun...@t-online.dewrote:
Quote:
Hello!
>
I have to overgive an information from one website to another (same domain)
by sertting a cookie with javascript.
When the website is requested by a user a session cookie with a default
value (for example 'miller') should be set with javascript or php. If the
user chose a drop down menue on the website the cookie´s value should be
overwritten with the chosen value from the drop down menu.
>
<select name="familynames">
<option value="1"selected>miller</option>
<option value="2">smith</option>
<option value="3">tanner</option>
</select>
>
Can someone help me here please?
You may want to read some of the links in the following FAQ entry:

<URL: http://www.jibbering.com/faq/#FAQ4_4 >


--
Rob
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.