Jump to content

Questions about login.cshtml and register.cshtml from a sample


blacblu
 Share

Recommended Posts

So, I'm brand new to this forum, as well for HTML and HTML5. I'm using Microsoft Web Matrix with HTML5. I really hope to at least someone to be patient enough to help me. This is my login.cshtml.And this is my register.cshtml. What I'm trying to do is a site, where someone will create an account and have a private page, for example name1lastname1.cshtml, this file must be created when the user register on the site and must have a standard code, which would be this one. So now, when the user access his "name1lastname1.cshtml" he will be asked to give an image link, that must be added on the image url field on line 6.

<img src="url" alt="some_text"/>

The other question is about the login.cshtml, on the line 45. After successful login the user is redirected to the Home of my site, I want him to be redirected to the page created when he registered, called name1lastname1.cshtml. Any kind of help is very much appreciated. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...