469,569 Members | 1,511 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,569 developers. It's quick & easy.

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

Dec 12 '07 #1
1 1662
On Dec 12, 1:00 pm, "marc heiners" <mheinersun...@t-online.dewrote:
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
Dec 12 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by M Wells | last post: by
5 posts views Thread by Connie Walsh | last post: by
4 posts views Thread by socialism001 | last post: by
9 posts views Thread by Marco Krechting | last post: by
6 posts views Thread by kelvlam | last post: by
16 posts views Thread by Stevo | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.