TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
s
NA
41
34.6k
hello, I have buttons in my master page that allow users to nevigate in the site without log in. I...
Sep 4 2012 7:29 AM
hello, I have buttons in my master page that allow users to nevigate in the site without log in. I aso have a shopping cart page and I want to check if the user is log in or not once the user click on button to select products. how can I do it?
I've tried if (HttpContext.Current.User.Identity.IsAuthenticated) Response.Redirect("~/CheckOut.aspx"); else Response.Redirect("~/Login.aspx", true);
and it doesnt work.
thanks.
p.s
what I mean is something like this site - if you want to write a post and you are not loged in it's redirect you to the login page.
Reply
Answers (
3
)
System.Data.SqlClient.SqlException: String or binary data would be truncated. The statement has been terminated.
application integrate with Google docs