|
Hi,
I am absolutely new to Web programming, so pardon me if I write something stupid in between..
And Thanks for reading the question, any pointers are most welcome
The website is in ASP.NET 2.0 / IE 6.0, 7.0
We store login details in a cookie via HTTPCookie class, when user says "Remember Me" in the login page. Now, if he doesn't log out and starts the same website via favourites (The login page loads again), the cookie doesn't get detected and he has to enter his credentials again. If he closes the page and loads the browser again, the cookie does get detected.
We have added following values in the login.aspx page, which should take care of reloading the page
< OutputCache Duration="1" VaryByParam="none" Location="None" NoStore="true" >
It seems, either cookie doesn't get stored until the page is detected or the page is not getting reloaded. Any ideas about it?
If the question is not clear, please let me know..
Thanks in advance
Misha
Evil triumphs when good people sit quiet...
|
|
|
|
|
Are your login details are saved in cookies.If yes,then when next time user ligins,read the cookie for credential and authenticate the user and send him to next page.If cookie is not found then again ask the user to give the credentials.
Cheers!!
Brij
|
|
|
|
|
Thanks so much,
It seems the query is not clear.
I store the credentials in the cookie. The logic is simple, if cookie found, redirect to next page, else ask for credentials.
The problem is that the cookie detection is not working when I do not close the browser and again open the login page in a new browser - via clicking favourites. However, if I close the browser and open the link again, the cookie gets detected.
The outputcache tag resolves the problem in some sense, that it forces the page to refresh explicitly, so that the cookie is detected once it is stored.
I hope it's understandable now.
Thanks
Evil triumphs when good people sit quiet...
|
|
|
|
|
Hello,
I am developing a web based application in ASP.NET using VB. I have to put a datagrid on the web page which will be populated by oracle table, which should have the feature of row selection and drop-down feature by mouse clicking, so that user can re-arrange the table data as per his need.
In this context i have searched in google a lot and got following links:
http://www.justskins.com/forums/drag-drop-in-same-datagrid-16484.html
http://blog.flexexamples.com/2007/09/19/dragging-rows-between-two-different-flex-datagrid-controls/
http://social.msdn.microsoft.com/forums/en-US/winforms/thread/305c235e-761d-4f2c-83ba-23d8795a7b16
but i am not able to get the required datagrid. I mean where to put the code of XML and how it works(link 1 and link2) and error in "MouseEventArgs" (link 3).
So please tell me if you have such feature in datagrid, how to achive it.
Thanks and Regards
Girish Sharma
modified on Sunday, December 28, 2008 11:36 PM
|
|
|
|
|
This will be a ton of javascript, it looks like you found some examples online, so choose one, stick with it, and ask the authors for help, is my advice.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus,
Thanks for your reply. If you please have the required javascript, please post it or please help me how to implement the said code. I am newbie in ASP.NET. I suppose that this forum is more active so, any user will help me fast than others and i do'nt know how to ask the authors of the code please.
Regards
Girish Sharma
|
|
|
|
|
Girish481 wrote: I am newbie in ASP.NET.
Then, it is *insane* for you to attempt this. It requires a deep knowledge of how ASP.NET works, if you want to hack it to this degree. Tell your client that you can't do the job.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am newbie and it is insane for me but i hope it is not that much tough for neither you nor for any other user of the forum. Please guide me how to implement the code. I am doing it for just knowledge not for client job like that please.
Regards
Girish Sharma
|
|
|
|
|
OK, in that case, I suggest you choose something more sensible. You won't learn anything from us telling you want to do when the task is that complex compared to your experience.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Girish481 wrote: but i hope it is not that much tough for neither you nor for any other user of the forum
Well, IMO, what you are asking is really bigger than explaining in a forum post. You said you have got enough links from google. Why don't you use those code and try your luck and come back with specific questions.
|
|
|
|
|
I am trying to implement the code provided at this link:
http://www.danielsoper.com/programming/DataGridViewDragDropRowsColumns.aspx
I have populated the datagrid from oracle table; but it is returning error when i close/end the application. "No symbols are loaded for any call stack frame. The source code cannot be displayed" and then another message box appears which title is "LoaderLock was detected".
Please try at your end and let me know to correct the error.
Regards
Girish
|
|
|
|
|
Hey guys
I create a webform in a new project however this form will also be using in another project. So i using add existing item to add it to my project however i am unable to call for that page. Any idea how to go around doing this?
Thanks a million
KaKaShi HaTaKe
|
|
|
|
|
You got your answer in the C# forum. Do you not understand ASP.NET, or do you just not understand C# ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Can any one tell while using panel i want to set its position like in center,or left etc. how can i do it???
Thanks in advance.....
|
|
|
|
|
Use Tables, place Panels inside the table. Create Table rows as per requirements and place your controls inside tables.
cheers,
Abhijit
|
|
|
|
|
Use css. For centering, you set the left and right margin to auto:
style="margin: 0 auto"
For left and right, you use floating:
style="float: left"
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
how to use or show the progress bar in web application???
Thanks in advance....
|
|
|
|
|
Yes , you can do it using AJAX Updatepanel and UpdateProgress control for that.
cheers,
Abhijit
|
|
|
|
|
can any one tell me
In a web application,for example i want to upload a photo so for that i want to show a dialog box for uploading he photo and when the dialog box opens i want to lock the screen.How can i do it ????
Thanks in advance....
|
|
|
|
|
I didn't get your question. From where you are uploading it. its from main screen or from popup. which screen you want to lock.
cheers,
Abhijit
|
|
|
|
|
actually for example in orkut when u upload a photo a new small window opens asking the path for photo and at same time u can't do anything at its background.
similar to this i want to do.
|
|
|
|
|
Did you mean something like this[^]?
|
|
|
|
|
|
sarangkhandare wrote: yes how to do it....
Which means that you haven't read the link provided by me. That page explains how to do this using the ASP.NET AJAX extensions.
|
|
|
|
|
Use Ajax Control (ConfirmButtonExtender, ModalPopupExtender) and Panel
|
|
|
|