javascript Post and asp.net Redirecting

Joined
Jun 5, 2007
Messages
1
Reaction score
0
Hey. Is there a way to make a javascript post request to MyPage.aspx, set a variable on MyPage.aspx, then do a javascript redirect to MyPage.aspx and still sustain the value of the variable posted to the page in the first place? As of now i'm successfully posting to my aspx page, and successfully redirecting as well, but i have been unsuccessful with sustaining that variable. I've tried using ViewState as well as Session, neither seem to work exactly how i'd like.

Any suggestions or other ideas to accomplish this task?

thanks to all,
JoshT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top