Need javascript for encrypting a Page
by kirpal_06391, Wed, 2006-06-14 10:58
Superb
67% (2 votes)
Can say
0% (0 votes)
No
0% (0 votes)
Not at all
33% (1 vote)
Total votes: 3
by kirpal_06391, Wed, 2006-06-14 10:58
Neutron2k posted this at 10:40 — 22nd August 2006.
He has: 113 posts
Joined: Jul 2005
The only reliable way you can accomplish this is, as I said before - with server side scripting such as ASP or PHP.
You will not be able to do this with javascript, at least not very easily.
kirpal_06391 posted this at 11:29 — 16th June 2006.
He has: 12 posts
Joined: Jun 2006
"Is there a reason the clients can't go back and change their answers?"
Yes, there is areason the form transmits quiz data and takes timed out persons to other page "sorry.html". So i don't want people to play the quiz again and again changing their answers.
Check out at http://bharatindia.5000megs.com/kbc.html
kirpal_06391 posted this at 04:42 — 27th June 2006.
He has: 12 posts
Joined: Jun 2006
No body has answer for this.
Neutron2k posted this at 11:10 — 16th June 2006.
He has: 113 posts
Joined: Jul 2005
Unfortunatly its going to be quite hard for someone to explain the process to you because you need to have a basic knowledge of server scripting, and you need certain requirements from your web space.
For what you are trying to do, you are not trying to expire sessions but pages. Additionally what you state you require the functionality for, it seems a bit over kill. Is there a reason the clients can't go back and change their answers?
kirpal_06391 posted this at 11:22 — 16th June 2006.
He has: 12 posts
Joined: Jun 2006
Yes, because it is a quiz and time based, I don't anyone could play it second time.
Neutron2k posted this at 16:07 — 15th June 2006.
He has: 113 posts
Joined: Jul 2005
sessions are serverside unfortunatly and cannot be controlled with javascript. You need php or asp support on your web server and knowledge of that i'm afraid.
kirpal_06391 posted this at 05:48 — 16th June 2006.
He has: 12 posts
Joined: Jun 2006
Help me in every way you can I don't know any thing about this.
kb posted this at 13:52 — 14th June 2006.
He has: 1,380 posts
Joined: Feb 2002
Like Neutron said, that's not encryption. Are you looking to set page expiration warnings? Cookies, and sessions, will allow you to achieve what (I believe) you want to do.
kirpal_06391 posted this at 05:17 — 15th June 2006.
He has: 12 posts
Joined: Jun 2006
I am new to javascript please tell me how to make sessions expirable. Thanks in advance and keep polling.
Neutron2k posted this at 12:50 — 14th June 2006.
He has: 113 posts
Joined: Jul 2005
thats not encryption. Thats session expiry which you cannot generate with client side code, because when a user clicks back, the page is not refreshed, its just a cached copy of where they just came from.
So unfortunatly you may be out of luck on this one.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.