IPB
Your Ad Here


Welcome Guest ( Log In | Register )

.net, web applicatins using asp.net with c#
user_Guest_prasanna_*_*
post Jun 12 2008, 10:15 AM
Post #1





Guests






hi frnds ...
I have 1 doubt on web applctns...plz reply to me... in web app we have a login page and logout page. when we enter an login page.after that when we will click on logout button that returns to login page.in that page in browser not working back botton wat is the code of that how it is working.. please reply to me urgent
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 3)
user_pravin_*
post Jun 13 2008, 03:29 AM
Post #2





Guests






QUOTE (Guest_prasanna_* @ Jun 12 2008, 10:15 AM) *
hi frnds ...
I have 1 doubt on web applctns...plz reply to me... in web app we have a login page and logout page. when we enter an login page.after that when we will click on logout button that returns to login page.in that page in browser not working back botton wat is the code of that how it is working.. please reply to me urgent





you do one thing in log out button you directly swich to home page of application
and write the code ( webpage1.show)
i think its work you try and reply me
Go to the top of the page
 
+Quote Post
user_Hashen_*
post Jun 30 2008, 02:42 PM
Post #3





Guests






QUOTE (Guest_prasanna_* @ Jun 12 2008, 10:15 AM) *
hi frnds ...
I have 1 doubt on web applctns...plz reply to me... in web app we have a login page and logout page. when we enter an login page.after that when we will click on logout button that returns to login page.in that page in browser not working back botton wat is the code of that how it is working.. please reply to me urgent





Use Session for that problem
Use Session
Go to the top of the page
 
+Quote Post
user_Nitin_*
post Jul 10 2008, 06:03 AM
Post #4





Guests






you can either use AJAX using the Asp.Net Update Panel(search google)
or
use this code
Session.Abandon()
FormsAuthentication.SignOut()
if not Request.URLReferrer is nothing then
REFUrl = Request.URLReferrer.ToString
response.redirect(REFUrl) ' you can get the url referrer
else
response.redirect("default.aspx")
end if

Hope it helps,

Nitin
www.anandway.com
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2009 - 05:52 AM
Your Ad Here