如何从mozila explor删除书签 [英] how to remove bookmark from mozila explor
问题描述
我有一个项目,我想做点事
问题是登录后用户单击mozilla firfox Explore上的书签
第二次无需直接登录,该页面将打开
请给我回答.如何解决
如果用户单击书签diffult登录页面,则应该打开
i have a project i want to do some thing
Thing is that after login the user click the bookmark on mozilla firfox explore
second time no need to login direct that page will open
please give me ans. how to solve it
if user click the bookmark diffult login page should be open
推荐答案
Did不清楚您的要求.但是我认为您应该在应用程序上使用会话".这样,任何人都无法在未登录"到您的Web应用程序的情况下查看应用程序的主页"或其他内部页面.
示例在登录"页面中添加以下代码:在这种情况下,登录页面为"Index.aspx"
Did Not much clear what you have asking. but i think you should use "Sessions" on your application. Then anyone cannot view "homepage" or other inner pages of your application with out "loging" into your web application.
Example add following code in Login page :in tht case login page is "Index.aspx"
int a = UserV.check_Login(UNtxt.Text, PWtxt.Text, List_company_cmbo.Text);
if (a == 1)
{
Session["logged"] = "logged";
Response.Redirect("Home.aspx");
然后检查用户是否已登录系统,如果没有,则将用户重定向到页面登录.在其余页面中添加以下代码:
hmepage.aspx中的示例
Then check whether user has logged into the system and if not redirect user to log in page.add following code in rest of pages :
Example in in hmepage.aspx
protected void Page_Load(object sender, EventArgs e)
{
if (Session["logged"] != "logged")
{
//if user not logged to system then redirect user to login page
Response.Redirect("Index.aspx");
}
如果您只需要从firefox中删除书签,请从此处 http://www.wikihow.com/在Mozilla-Firefox中删除书签 [ ^ ].不确定为什么自己无法谷歌搜索:花了几秒钟找到它.
if you just need to delete bookmark from firefox .Start here http://www.wikihow.com/Delete-a-Bookmark-in-Mozilla-Firefox[^]. Not sure why you couldn''t have Googled that for yourself: took a few seconds to find it.
这篇关于如何从mozila explor删除书签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!