|
why use two when one can do the same work
|
|
|
|
|
|
ur suggestion is not working dude!!!!!!!!!!!
|
|
|
|
|
\d\d|[0-9]{11} did you try this one?
|
|
|
|
|
in my project im using session to transfer data from one page(default) to other page(edit)..
how i need to transfer large data using with or without session..
as data is confidential i dint use query string...
session["headline"]=dr["headline"];
session["bodytext"]=dr["bodytext"];
"
"
"
//edit page..
TextBox1.Text=session["headline"].ToString();
TextBox1.Text=session["bodytext"].ToString();
"
"
"
........
|
|
|
|
|
well you can use cookie's as well but as you mentioned data is in large quantity then you might end up using session which itself isn't a good choice.
|
|
|
|
|
Gamzun wrote: well you can use cookie's as well but as you mentioned data is in large quantity
As well as the data is confidencial.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
What is the problem with use of Session ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
how to get drive name in which operating system has been installed by asp.net coding.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Why on earth would you want that ? What could you possibly hope to do with it ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
actually itext sharp not supporting directly some font family like 'Locida Console' but I got one solution that we can give path to font file that is place by default in drive where os is installed.
like: if OS is installed on C drive means - I want path="C:\\WINDOWS\\Fonts\\" so just I want to know drive only to resolve this issue.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
your solution might work on your development environment but I'm quite sure it won't work on production server if it's third party's.
|
|
|
|
|
thanks for your kind response.
now I have got solution.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: now I have got solution.
Then Why Dont you share with Other..!May Be It will Helpul to others..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
You cannot access files on your clients host computer, what fonts they have installed is irrelevant. I'd bet anything that the solution you found will not work when you deploy to a real server.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hiii i m using access db and i have created my own login form.
I want that without login in user cannot go to my admin page.
hw can i do this...
plz guide...
|
|
|
|
|
What have you tried ? Do you know anything about SQL ? How do you intend to limit access to the login page ? I assume this is a class, it gives me the shivers to think that someone would write a secure system and yet be so lost as to ask a question like this. So, what resources has your teacher given you ? Have you read them ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i knw sql but i have created my own login table in access 2007 db.
|
|
|
|
|
I also see from your profile that you're writing this for work, which is a disgrace. Someone's security system will be written by someone who had to ask in an online forum because they had not the first clue how to write such a thing ? Disgusting.
You've been here for a bit and asked a lot of questions, surely you know what the session object is ? The rest of it seems trivial to me. Where are you stuck ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sir i know session and i have used it.there's no pre init event in asp.net.
i dont know how to session for this case.plz give me exact answer...abut my problem.
|
|
|
|
|
mylogics wrote: .there's no pre init event in asp.net.
I never said there was, but in 3.5, there is. So ? Did someone answer you once before and tell you to use the pre init event ? If you're using an older framework, you should say so up front so that the answers match what you're using.
mylogics wrote: .plz give me exact answer...abut my problem.
The answer is that what you're doing is ridiculous and you should tell the client you are stealing from them. Security is NOT something that should be put together by someone who doesn't even know how to start. It's the part of the site people will actually TRY to break.
Think about it for a minute. You have a database, you have SQL. You can surely work out how to check the username/password that someone enters. How might you use the session then to control access to the admin areas ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
LOL - it always ends with you guys saying thanks, then a week later you post the same question again. Are you planning on refunding the client's money, or are you planning on buying a book and trying to become an actual web programmer in a hurry ? Or did you actually work out how to do it from the explanation I gave you ? Either way, for the guy who writes the security system for a website to have to ask on the most basic level how to do it, is beyond pathetic. There's nothing wrong with being a learner - I post here to help people who are learning, but your profile says you are working as an ASP.NET developer, so I can only assume you're charging people for your attempts at learning, which in your mind is apparently asking me for code. If you give me 50% of the money you're being paid for this portion of the job, I'd be happy to post the code. Heck, if you'd posted with some code you'd tried and a specific question, I'd have been a lot happier to help. 'I'm being paid and I don't have a clue, give me code' is, on the other hand, unacceptable.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
the exception was generated when i was trying to assign a textbox value to a gridview.
How to resolve this problem.
|
|
|
|
|
Flavia A wrote: Index was out of range. Must be non-negative and less than the size of the collection.
That explains what you have to do. Keep the index in the array size limit.
Best wishes,
Navaneeth
|
|
|
|