Thank you for your reply.... really appreaciate it!!!
I have now changed the logic to return the token in a webclient call of the page where the content is the token that was the only way to pass the token without a query string.
Dim webClient As New System.Net.WebClient
Dim result As String = webClient.DownloadString(officeUrl)
Above office URL is the page from where I wanted to do the redirect with the header.
But now I am doing the redirect without the header and on redirecting I am calling the webclient from the redirectpage page for the token.
Below is the code to assign the token to the page content
Labeltoken.Text = officeCredentials("token")