|
Mark J. Miller wrote: However, I disagree that my solution is overly complex.
Yeah that's not what I meant. Just what you said before, having to do any of that regardless of how well it's done adds complexity.
|
|
|
|
|
Ok, I can agree with that.
|
|
|
|
|
Editing posts seems to broken the past few days
It's likely you have seen this[^] but just in case.
|
|
|
|
|
I had not see the specific page, but I am aware of cookieless sessions. But first, the original poster expressed a valid concern that cookieless sessions can easily be hijacked. There is a link in on the page you referenced which talks specifically about session hijacking and the solution requires cookies.
Secondly, cookieless sessions still don't solve the problem in the subject of the post. If a user opens a new browser window using CTRL+N, the browser menu or the shortcut menu (or the corresponding tab commands) the url will contain the same session id and you have the exact same problem.
If users always used the quick launch toolbar, the start menu (or whatever the linux or mac commands are) then cookieless sessions would be a good solution in this case. But you can't be sure they will and in fact most users will not because it's quicker to use the browser commands instead of opening a new browser which opens to the user's home page instead of your site.
My solution takes all of this into account. Because you can't control the number of browsers a user will use to navigate your site/application you can't control the url in each of those browsers. So again, while I agree with your premise that many applications should not be on the web, I maintain that the original post is a valid problem on the web and in some cases requires a solution like the one I am proposing.
|
|
|
|
|
Mark J. Miller wrote: I maintain that the original post is a valid problem on the web and in some cases requires a solution like the one I am proposing.
Hopefully you understand that was never questioning your implementation, only the choice for the application to be browser based. Obviously I can't know since my entire point is based on complete analysis of any project which I of course can't do. That is why none of my language indicated any absolutes for your project. It seems we are in agreement from what I can tell.
|
|
|
|
|
I wasn't completely sure at first, glad you cleared that up .
And you're right, it is an important question to be asked. Sometimes I tend to propose a solution to answer a question w/o questioning wither the asker is even heading down the right path in the first place.
It probably stems from a desire to be helpful (which it isn't always). Also from frustration when I have posted questions (never on CP) which the only answer I get is "are you sure?", followed by a defining silence when I explain that yes I am sure and I need help.
|
|
|
|
|
I have an application (VB.Net2) which takes an image (JPEG) file and resizes it.
I have tested this application by putting it into a local version of my website (which also contains local copy of my image library) hosted on my PC. The images shown on the web pages are crisp and clear.
But when I put this same version of the website (including image library) onto my remote webserver, the images shown on the served web pages are markedly pixallated (even in areas that are normally flat colour). I have downloaed the images from the image library to check them on my PC and they are fine.
Why should the website produce crsip/clear images when hosted locally yet grainy/pixallated images when hosted on a remote web server?
Thanks in anticipation.
Chris
|
|
|
|
|
Greetings,
I'm looking for some information on how to display images in ASP.
My criteria is to use drop down menues on the webpage which will be the paramaters
for a sql stored procedure.
The thing I really can't find is, how to store the image on a file location, but have
the "link" to the photo in the sql table.
Example: I have two drop down menus. A user might pick "family" from the first drop down,
and "vacations" from the second. When they hit an ok button, it would run the sql stored
procedure with the parmaters family & vacatons. The result would be the page showing all photos
that satisfy the query (but the photos are not in sql server, but at a file location).
Any help would be greatly appreciated,
Sean
|
|
|
|
|
Have you even tried to search for anything? This is such an easy task, there are enormous amounts of info available for loading images from a path.
only two letters away from being an asset
|
|
|
|
|
in a javascript file containing is at below
var iWebAlbumPhotos = [{"caption": "e9fc5e5f477945b488cbb350794906cf", "url": "e6f6d95f3ceb49c99f7ced49b758c487.jpg", "comment": "ff"},{"caption": "2f8f1552240f4f70976f252d4c5e71cc", "url": "90f03060782f492f978f54f482be864b.jpg", "comment": "ffff"}];
how can i populate this at runtime in aspx page?
|
|
|
|
|
Lookup System.Web.Script.Serialization.JavaScriptConverter. I've only used it with WebServices, but there might be a way to hook into it for your aspx page.
|
|
|
|
|
hi
I am dynamically adding javascript controls and their events on the page.
That is working properly. But there is a cross browser issues –
Like my page working properly on the IE-6 and Mozill but not working in IE-7.0
So please tell me how to solve this issue.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
there are issues which you will face. I would suggest to check the browser of user and then add javascript controls accordingly, as each browser has different architecture. Also i dont suggest adding javascript controls as they will not work if user has got javascript disabled on his browser,
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi
I ahve a .asmx file which contains the code for my cascading dropdown
I have copied it from one project to another
Do I need to add any code anywhere else e..g webconfig to enable this file
any help would be great!!
thanks
|
|
|
|
|
if u have the code in a seperate file u will have to copy that file as well from app-code directory to the corresponding directory in the new project
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
if the control needs to be used in more than one project your better off writing it as a server control rather than a user control.
only two letters away from being an asset
|
|
|
|
|
asmx extension is for webservices not for user controls
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Oops, you're right. Too many damn extensions and acronyms
only two letters away from being an asset
|
|
|
|
|
I have got the asmx file in the same location as the file that references it
So I have two projects with two asmx files in them, when I run the file its (.asmx) the xml works and displays the right data but when I run it in the cascading dropdownlist it doesnt display anything
But I can see it working in the other project
Anyone got any ideas?
I'm totally stuck!
|
|
|
|
|
The webservice doesn't need to be in each project. Use the SOA model and put the webservice in a central location so both projects, plus any others, can call it.
The service is only returning data which you are binding to a dropdown list correct?
only two letters away from being an asset
|
|
|
|
|
Yeh basically the top level of the dropdownlist should display some data from the database. I can see it working in project 1, I can see it working in the xml of project 2, but it wont display in the cascading drop down, am I missing something? Why would it work when I visit the asmx file but not when I run the file with the cdd in it?what would be the reason for this?
thanks for thehelp
|
|
|
|
|
totally stuck, I'm looking at the same 3 pages of code in 2 different apps and they are doing two different things, what is going on? any help would be much apprecited, do i need to change a webconfig file, the master file, Im just totally stumped as to what this problem is
|
|
|
|
|
a-+s-+p-+ wrote: Im just totally stumped as to what this problem is
Well so are we since we haven't seen the same three pages of code that have been staring at.
Isolate the problem. Move the WebService out of each project and into one its own. Test it. Once its working, reference it in the other projects and go from there. Things you shouldn't need to be told if you're a professional developer.
only two letters away from being an asset
|
|
|
|
|
thanks for the great answer.
Believe or not I have run the web service seperatly and it works.
You are def not a professional with answers like that.
What I was wondering is if I have to set or start the web service seperatly for each project
Maybe I should wait for a post from someone who will give me a useful answer..
|
|
|
|
|