|
Where I can find ODBC Driver 3.5 for Ingres 3.0
Please Help
Thank you
|
|
|
|
|
|
Hi,
I have some webpages for a small project. I have login page also. after logout, when I click on Back button It takes me to previously visited page. but then it should ask to login...
How can WE do to ask the credentials when we click BACK button, after logging out?
thanks in advance...
shah_tech
|
|
|
|
|
Maybe you can redirect them to the login page after loggin out.
if they push the back button now they wil be redirected again to the login
Stef
|
|
|
|
|
yeah,
thanks for ur rply...
I'm redirecting to login page only after logging out, but there after, if i click on BACK button, it takes me to previously visited page which is not desirable.
thanks in advance.
|
|
|
|
|
if you use the session,after check logout,you should remove the session,and you should check the session in the loginpage.
my english is very bad!
|
|
|
|
|
thanks suyuan,
i'm using Sessions in my application. for logout, i'm using Hyperlink ( navigateUrl as Login.aspx. then where can i remove the session? I checked as removing session in page_load of Login.aspx, but it's not working.
|
|
|
|
|
to shah_tech:
you can use a page(loginout.aspx) for clear session,after,let the page redirect to the login.aspx
loginout.aspx'code like this:
private void Page_Load(Object sender,EventArgs e)
{
if(!Page.IsPostBack)
{
Session.Clear();
Response.Write("");
}
}
I hope this can help you!
my english is very bad!
|
|
|
|
|
How are you maintaining the state of user in your application ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi Sandeep,
I'm using Sessions to maintain state of user.
|
|
|
|
|
You need to check the user id and password every time in each page from session
if the session is empty or wrong user id and password you should able to redirect user to login page .
When you click sign out remove the data from the session .
But i don't think this is solution for your query as it is happenening because of Cache. Wait need to find different way
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
Request.UrlReferrer.AbsoluteUri
the above will give the URL of the page from which u r redirected to the current page.
Compare this url with the login page url
for eg:
in the page load event
if(Request.UrlReferrer.AbsoluteUri!="http://localhost/Login.aspx")
{
Response.Redirect("Login.aspx");
}
|
|
|
|
|
Hi,
Try this code inside your pageload
Response.Buffer = True
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D)
Response.Expires = -1500
Response.CacheControl = "no-cache"
Sherin Iranimose
|
|
|
|
|
Hi,
I need to upgrade an existing HTML application to Microsoft(R) ASP.NET. I rename the Products.htm file Products.aspx.
What additional changes must I make to cause the code associated with the Order button's Click event to run on the server?
Blumen
|
|
|
|
|
Hi,
just change the button into asp:button...add a handler for that button then and put the corresponding code to that handler...
<< >>
|
|
|
|
|
enjoycrack wrote: just change the button into asp:button...add a handler for that button then and put the corresponding code to that handler...
How can he convert the html application to .NET application by simply making few changes.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
ya..it's not simple by the word "just"...I assume he knows how to create all GUI in aspx page..then just add code behind for the button... ...anyway, .NET compiler will veriy his code
<< >>
|
|
|
|
|
enjoycrack wrote: .NET compiler will veriy his code
Thats true
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
blumenhause wrote: What additional changes must I make to cause the code associated with the Order button's Click event to run on the server?
Are you developing .NET application first time ?
you can't do that
blumenhause wrote: I need to upgrade an existing HTML application
Current Application is in which technology ?
-- modified at 3:17 Tuesday 8th May, 2007
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Wow - I wouldn't do that. I would create a new project from scratch, and copy the HTML across into the pages, then add the event handlers, etc. You don't want to mix your C# code with your HTML, that's just ugly.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I found this question in a Microsoft self-assessment test for C# 2.0 MCP. I have been asked to write the MCP exam for C# 2.0 by my manager, I was browsing through the Microsoft website when I found this test and I came across this question.
I got 6 out of 30 questions right, I hope that explains my knowledge in C# 2.0
Can anyone advice me how to go about preparing for this exam? We do not have access to Google or such web sites here at office, they only allow .NET related web sites here, like codeproject.
Thanks & Regards,
blumen,
Chennai, India
|
|
|
|
|
Hi Friends,
I have my own javascript in ASP.net and thats working fine in IE but its not even working in firefox. can any one give me the solution for this.
Regards,
A Jabeer Ali
|
|
|
|
|
Hi
Post your script code as I have worked on FireFox browser ...
Harini
|
|
|
|
|
Hi,
I think the methods which you are using in javascript are not supported by the firefox....
To see those errors u can use in firefox error console.....(In firefox browser goto Tools -> Error Console) or else you can post the javascript code so that we can help you.
Regards,
Sandeep Kumar.V
|
|
|
|