![]() |
| ||
| How to save session values in JavaScript How do you save a session value in JavaScript? Please help! Sally |
| ||
| Re: How to save session values in JavaScript Use cookies. google it with javascript and cookies. There are a ton of functions for it. |
| ||
| Re: How to save session values in JavaScript There are more ways to do it than just cookies - it basicaly depends if you want to store the session between visits that happend at the same time, or if you want to save sessions for later use. If the later is what you want, go for cookies: function createCookie(name,value,days) {
If you just want to save the session while the user leaves your pages you could use a hidden frame and store the session value inside a hidden input. |
| All times are GMT -4. The time now is 11:41 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC