Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
passing values between pages
richard 0
Jul 10 2004 8:49 PM
2k
Reply
I have 3 pages: 1. job.aspx a list of jobs being advertises with a hyperlink to see details:
>See Details
2. the jobdetails page which opens the full set of details based on the requested jobid querystrng All that works fine 3. giveaccess.aspx the user is directed to giveaccess.aspx to login to see the jobdetails page. I am using cookies to authenticate NOT forms authentiaction (deliberaterly) ALL that works fine. The problem is that I want to include the requested jobid in the return url string on the giveaccess page once the user has been authenitcatred. How can I do this? The code snippet for the giveacess page is: Response.Cookies["username"].Value = username.Value; reader.Close(); string returnUrl = Request.Form["gstring"]; if (returnUrl == null) returnUrl = "in.aspx"; Response.Redirect(returnUrl); I want to send the authentiacted user back to the page he requested which will be jobdetails.asp?jobid=(selected job id)
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
how to update primary key?
Do I have Access DB installed in order to run application ? help