ASP.NET Problem with Redirects

I have a login page which has two options "login as guest" , "login". Each click event will take the user to the same page. However, if login as guest is clicked then i want to be able to change what info is displayed on the page the user is being redirected to. I do not want to use a session variable. Any thoughts on how to do this?

Thanks

Answers


You could pass a querystring variable in the link. E.g.,

http://www.MySite.com/MyPage.aspx?login=guest

Need Your Help

How to set text into TextArea with Selenium Webdriver?

java selenium selenium-webdriver webdriver

I am trying to set some Text into the TextArea which has some kind of text to it by default which when clicked clears out and then you can set text to it, but I'm enable to perform it with webdriver

Moving mouse by delta causes cursor movement to be "jittery"

c# sendinput

I am writing a piece of software that takes an analog input from a POT in the form of a double with a range from -1 to +1 and am in turn trying to use this as mouse cursor delta. Everything works, ...