Eval() in ASP. How to pass values on redirect throught session
<p>I have this image button inside a grid view which redirects the groupname to the send message.aspx. </p>

<pre><code> &lt;asp:ImageButton ID="img_Send" ImageUrl="Styles/Images/Message.jpg" Enabled="True" Width="" runat="server" PostBackUrl='&lt;%# Eval("GroupName", "SendMessage.aspx?GroupName={0}") %&gt;'&gt;&lt;/asp:ImageButton&gt;
</code></pre>

<p><a href="http://localhost:48996/SurelyK/SendMessage.aspx?GroupName=Jobs" rel="nofollow">http://localhost:48996/SurelyK/SendMessage.aspx?GroupName=Jobs</a>
this is the url</p>

<p>Is it possible to store the value in a session in the client side so that i can use it in server side coding.</p>

<p>i dont want to pass the value in the URL. How can i do it without passing it in URL.  </p>

<p>2nd q: I am also doing the same in user page where I pass the user id. </p>

<p><a href="http://localhost:48996/SurelyK/SendMessage.aspx?UserID=3" rel="nofollow">http://localhost:48996/SurelyK/SendMessage.aspx?UserID=3</a></p>

<p>In my sendmessage server side code i have to save the message in the message table and then save the username and the message id in usermessage table. </p>

<p>the code for inserting in userdetails usermessage table and code for inserting groupdetails in grouptable  is different. I have to do both in send button click. How to check which page redirected to send message page, is it group or user page..</p>
