I was wondering is there a way to save get parameters that the website sends to the server to be saved to a local variable via java script. something like a cookie or the session variable.
EDIT 1:
I am also willing to save it to a server-side cookie, but i still don’t know how to do that.
i am using MVC4 in VisualStudio with C# as server-side lang. if there is an easier method to do it server side I’m up for that.
EDIT 2
The comment game me an idea, and i managed to get the solution via the session class server-side. thanks ppl 🙂
Using the
Session.AddItemmethod i was able to save all the data i needed. thanks for your help guys.