What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » javascript POST?

javascript POST?
Author: Message:
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: javascript POST?
quote:
Originally posted by KeyStorm
Sessions are perfect for this kind of thing:
I dunno about that... seems kinda overkill... :p

If you're just passing one variable to one other page, you should just use the JavaScript POST thing as shown above. Even if you used sessions, you'd still have to do the same thing to get the value from JavaScript to PHP.

Also, sessions expire (default time is like half an hour), and are designed to exist only during one visit to the site. If you want your users' data to still be available when they return tomorrow, you should use cookies. If for some reason you don't want the data stored in cookies, store it in a database with some kind of ID associated with it, then put the ID in a cookie.
02-20-2004 03:39 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
javascript POST? - by bach_m on 02-20-2004 at 03:02 AM
RE: javascript POST? - by WDZ on 02-20-2004 at 04:32 AM
RE: javascript POST? - by fluffy_lobster on 02-20-2004 at 09:31 AM
RE: javascript POST? - by CookieRevised on 02-20-2004 at 10:55 AM
RE: javascript POST? - by KeyStorm on 02-20-2004 at 11:57 AM
RE: javascript POST? - by bach_m on 02-20-2004 at 12:04 PM
RE: javascript POST? - by CookieRevised on 02-20-2004 at 01:41 PM
RE: javascript POST? - by KeyStorm on 02-20-2004 at 02:45 PM
RE: javascript POST? - by WDZ on 02-20-2004 at 03:39 PM
RE: javascript POST? - by KeyStorm on 02-20-2004 at 04:19 PM
RE: javascript POST? - by WDZ on 02-20-2004 at 05:10 PM
RE: javascript POST? - by KeyStorm on 02-20-2004 at 05:13 PM
RE: javascript POST? - by bach_m on 02-20-2004 at 08:21 PM
RE: javascript POST? - by CookieRevised on 02-20-2004 at 09:25 PM
RE: javascript POST? - by bach_m on 02-20-2004 at 11:20 PM
RE: javascript POST? - by CookieRevised on 02-21-2004 at 08:12 AM
RE: javascript POST? - by KeyStorm on 02-21-2004 at 12:33 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On