I am using html pages at front. I send information from html page to jquery for authentication to controller. Controller send back regarding information to jquery. How can i send this information to another html page. my script is written in separate js file. Please help how can i solve this. Thanks
Asked
Active
Viewed 4,682 times
2
-
Could maybe put it in `localStorage`, but really the server should handle this kind of thing. – Niet the Dark Absol Dec 31 '13 at 14:41
-
Would you mind showing us your code? – Mohammad Areeb Siddiqui Dec 31 '13 at 14:41
2 Answers
2
I would use ajax to post the data to the server, and save the data in a session.

Kevin Seifert
- 3,494
- 1
- 18
- 14
2
If it is small pieces of information you wish to send to to another page, you could use querystring
You can then use it by checking for them with javascript (link)
If you don't know what a querystring is, it is the information you get in the form of:
www.website.com/somefolder/somepage?ID=124
where the part after the ?
is the querystring
.
(NOTE: This is only useful for single page value passes, and not safe for sensitive information)